77a21d
From f4e2d711e5cfd8e357d770e2da7a114086ee8659 Mon Sep 17 00:00:00 2001
77a21d
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder@redhat.com>
77a21d
Date: Thu, 22 Sep 2022 10:49:43 +0200
77a21d
Subject: disable recommonmark
77a21d
77a21d
---
77a21d
 clang/docs/conf.py | 15 +--------------
77a21d
 1 file changed, 1 insertion(+), 14 deletions(-)
77a21d
77a21d
diff --git a/clang/docs/conf.py b/clang/docs/conf.py
77a21d
index b8a42018191a..912449a7f792 100644
77a21d
--- a/clang/docs/conf.py
77a21d
+++ b/clang/docs/conf.py
77a21d
@@ -37,20 +37,7 @@ source_suffix = {
5034ee
     '.rst': 'restructuredtext',
5034ee
 }
5034ee
 
5034ee
-try:
5034ee
-  import recommonmark
5034ee
-except ImportError:
5034ee
-  # manpages do not use any .md sources
5034ee
-  if not tags.has('builder-man'):
5034ee
-    raise
5034ee
-else:
5034ee
-  import sphinx
5034ee
-  if sphinx.version_info >= (3, 0):
5034ee
-    # This requires 0.5 or later.
5034ee
-    extensions.append('recommonmark')
5034ee
-  else:
5034ee
-    source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'}
5034ee
-  source_suffix['.md'] = 'markdown'
5034ee
+import sphinx
5034ee
 
5034ee
 # The encoding of source files.
5034ee
 #source_encoding = 'utf-8-sig'
77a21d
-- 
77a21d
2.37.1
5034ee