aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/doc-disable-extension-incompatible-with-sphinx-3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/doc-disable-extension-incompatible-with-sphinx-3.patch')
-rw-r--r--debian/patches/debian/doc-disable-extension-incompatible-with-sphinx-3.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/debian/doc-disable-extension-incompatible-with-sphinx-3.patch b/debian/patches/debian/doc-disable-extension-incompatible-with-sphinx-3.patch
new file mode 100644
index 000000000000..3e996fa9350b
--- /dev/null
+++ b/debian/patches/debian/doc-disable-extension-incompatible-with-sphinx-3.patch
@@ -0,0 +1,19 @@
+From: Ben Hutchings <benh@debian.org>
+Date: Sat, 22 Aug 2020 03:13:44 +0100
+Subject: doc: Disable extension incompatible with Sphinx 3
+
+The cdomain extension needs major changes to work with Sphinx 3.
+For now, disable it.
+
+---
+--- a/Documentation/conf.py
++++ b/Documentation/conf.py
+@@ -36,7 +36,7 @@ needs_sphinx = '1.3'
+ # Add any Sphinx extension module names here, as strings. They can be
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
+ # ones.
+-extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain',
++extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', #y'cdomain',
+ 'kfigure', 'sphinx.ext.ifconfig', 'automarkup',
+ 'maintainers_include', 'sphinx.ext.autosectionlabel' ]
+