summarylogtreecommitdiffstats
path: root/sphinx-workaround.patch
diff options
context:
space:
mode:
authorCyano Hao2021-02-16 11:13:20 +0800
committerCyano Hao2021-02-16 11:13:20 +0800
commit5708c4d109ed657f198be01e146a05c7639fc2be (patch)
tree7ee8a0c756d7dec26da1b0240a1dcd382e70f216 /sphinx-workaround.patch
parent6f32dfe7229439c94a189c1fefba31b88a6f72a7 (diff)
downloadaur-5708c4d109ed657f198be01e146a05c7639fc2be.tar.gz
backport sphinx workaround from core/linux
Diffstat (limited to 'sphinx-workaround.patch')
-rw-r--r--sphinx-workaround.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/sphinx-workaround.patch b/sphinx-workaround.patch
new file mode 100644
index 00000000000..a6e2c490029
--- /dev/null
+++ b/sphinx-workaround.patch
@@ -0,0 +1,19 @@
+diff --git i/Documentation/conf.py w/Documentation/conf.py
+index 6a767294887e..d1d145759fed 100644
+--- i/Documentation/conf.py
++++ w/Documentation/conf.py
+@@ -267,11 +267,9 @@ except ImportError:
+
+ html_static_path = ['sphinx-static']
+
+-html_context = {
+- 'css_files': [
+- '_static/theme_overrides.css',
+- ],
+-}
++html_css_files = [
++ '_static/theme_overrides.css',
++]
+
+ # Add any extra paths that contain custom files (such as robots.txt or
+ # .htaccess) here, relative to this directory. These files are copied