Blame SOURCES/0001-Deactivate-markdown-doc.patch

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