mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-10-25 14:08:03 +00:00
update the patch to be a revert
This commit is contained in:
parent
5be391cd2c
commit
d39fb64f3f
28
debian/patches/revert-sphinx-deprecation.diff
vendored
28
debian/patches/revert-sphinx-deprecation.diff
vendored
@ -14,28 +14,28 @@ Date: Thu Jun 18 14:04:34 2020 -0700
|
|||||||
|
|
||||||
Differential revision: https://reviews.llvm.org/D75284
|
Differential revision: https://reviews.llvm.org/D75284
|
||||||
|
|
||||||
diff --git a/llvm/docs/conf.py b/llvm/docs/conf.py
|
diff --git b/llvm/docs/conf.py a/llvm/docs/conf.py
|
||||||
index c92ede3ea44..13bbc826de8 100644
|
index 13bbc826de8..c92ede3ea44 100644
|
||||||
--- a/llvm/docs/conf.py
|
--- b/llvm/docs/conf.py
|
||||||
+++ b/llvm/docs/conf.py
|
+++ a/llvm/docs/conf.py
|
||||||
@@ -26,15 +26,16 @@ from datetime import date
|
@@ -26,16 +26,15 @@ from datetime import date
|
||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
-extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo']
|
-extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo', 'recommonmark']
|
||||||
+extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo', 'recommonmark']
|
+extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo']
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
|
||||||
# The suffix of source filenames.
|
# The suffix of source filenames.
|
||||||
-source_suffix = ['.rst', '.md']
|
-source_suffix = {
|
||||||
-
|
- '.rst': 'restructuredtext',
|
||||||
-source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'}
|
- '.md': 'markdown',
|
||||||
+source_suffix = {
|
-}
|
||||||
+ '.rst': 'restructuredtext',
|
+source_suffix = ['.rst', '.md']
|
||||||
+ '.md': 'markdown',
|
+
|
||||||
+}
|
+source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'}
|
||||||
|
|
||||||
# The encoding of source files.
|
# The encoding of source files.
|
||||||
#source_encoding = 'utf-8-sig'
|
#source_encoding = 'utf-8-sig'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user