bcf7ece
diff -Naur a/llvm/docs/conf.py b/llvm/docs/conf.py
bcf7ece
--- a/llvm/docs/conf.py	2020-09-15 09:12:24.318287611 +0000
bcf7ece
+++ b/llvm/docs/conf.py	2020-09-15 15:01:00.025893199 +0000
4e6a7e3
@@ -36,21 +36,7 @@
4e6a7e3
     ".rst": "restructuredtext",
bcf7ece
 }
bcf7ece
 
bcf7ece
-try:
4e6a7e3
-    import recommonmark
bcf7ece
-except ImportError:
4e6a7e3
-    # manpages do not use any .md sources
4e6a7e3
-    if not tags.has("builder-man"):
4e6a7e3
-        raise
bcf7ece
-else:
4e6a7e3
-    import sphinx
4e6a7e3
-
4e6a7e3
-    if sphinx.version_info >= (3, 0):
4e6a7e3
-        # This requires 0.5 or later.
4e6a7e3
-        extensions.append("recommonmark")
4e6a7e3
-    else:
4e6a7e3
-        source_parsers = {".md": "recommonmark.parser.CommonMarkParser"}
4e6a7e3
-    source_suffix[".md"] = "markdown"
bcf7ece
+import sphinx
bcf7ece
 
bcf7ece
 # The encoding of source files.
4e6a7e3
 # source_encoding = 'utf-8-sig'