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