mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
Update RHEL docs patch
This commit is contained in:
parent
de70be4496
commit
4e6a7e3ffb
1 changed files with 15 additions and 14 deletions
|
@ -1,25 +1,26 @@
|
||||||
diff -Naur a/llvm/docs/conf.py b/llvm/docs/conf.py
|
diff -Naur a/llvm/docs/conf.py b/llvm/docs/conf.py
|
||||||
--- a/llvm/docs/conf.py 2020-09-15 09:12:24.318287611 +0000
|
--- a/llvm/docs/conf.py 2020-09-15 09:12:24.318287611 +0000
|
||||||
+++ b/llvm/docs/conf.py 2020-09-15 15:01:00.025893199 +0000
|
+++ b/llvm/docs/conf.py 2020-09-15 15:01:00.025893199 +0000
|
||||||
@@ -36,20 +36,7 @@
|
@@ -36,21 +36,7 @@
|
||||||
'.rst': 'restructuredtext',
|
".rst": "restructuredtext",
|
||||||
}
|
}
|
||||||
|
|
||||||
-try:
|
-try:
|
||||||
- import recommonmark
|
- import recommonmark
|
||||||
-except ImportError:
|
-except ImportError:
|
||||||
- # manpages do not use any .md sources
|
- # manpages do not use any .md sources
|
||||||
- if not tags.has('builder-man'):
|
- if not tags.has("builder-man"):
|
||||||
- raise
|
- raise
|
||||||
-else:
|
-else:
|
||||||
- import sphinx
|
- import sphinx
|
||||||
|
-
|
||||||
- if sphinx.version_info >= (3, 0):
|
- if sphinx.version_info >= (3, 0):
|
||||||
- # This requires 0.5 or later.
|
- # This requires 0.5 or later.
|
||||||
- extensions.append('recommonmark')
|
- extensions.append("recommonmark")
|
||||||
- else:
|
- else:
|
||||||
- source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'}
|
- source_parsers = {".md": "recommonmark.parser.CommonMarkParser"}
|
||||||
- source_suffix['.md'] = 'markdown'
|
- source_suffix[".md"] = "markdown"
|
||||||
+import sphinx
|
+import sphinx
|
||||||
|
|
||||||
# The encoding of source files.
|
# The encoding of source files.
|
||||||
#source_encoding = 'utf-8-sig'
|
# source_encoding = 'utf-8-sig'
|
||||||
|
|
Loading…
Reference in a new issue