summaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-10-13 22:23:14 +0200
committerMarius Bakke <marius@gnu.org>2021-10-13 23:37:46 +0200
commit711ee48f81d62785b6e1fedcba20ed3078b8ab01 (patch)
treec9bd64786038ff0fda1be97ddb4c07a4e61d9a08 /gnu/packages/patches
parent393315a98ef0b1cbafb661be5c36bbd4f30dba2e (diff)
gnu: ganeti: Prepare for Sphinx 4.0.
* gnu/packages/patches/ganeti-sphinx-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/virtualization.scm (ganeti)[source](patches): Add it.
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/ganeti-sphinx-compat.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/patches/ganeti-sphinx-compat.patch b/gnu/packages/patches/ganeti-sphinx-compat.patch
new file mode 100644
index 0000000000..4e84abbf37
--- /dev/null
+++ b/gnu/packages/patches/ganeti-sphinx-compat.patch
@@ -0,0 +1,24 @@
+Adjust documentation for Sphinx 4.0.
+
+Discussed upstream at <https://github.com/ganeti/ganeti/pull/1615>.
+
+diff --git a/doc/index.rst b/doc/index.rst
+--- a/doc/index.rst
++++ b/doc/index.rst
+@@ -119,7 +119,6 @@ Draft designs
+ design-hotplug.rst
+ design-internal-shutdown.rst
+ design-kvmd.rst
+- design-location.rst
+ design-linuxha.rst
+ design-location.rst
+ design-lu-generated-jobs.rst
+diff --git a/lib/build/shell_example_lexer.py b/lib/build/shell_example_lexer.py
+--- a/lib/build/shell_example_lexer.py
++++ b/lib/build/shell_example_lexer.py
+@@ -79,4 +79,4 @@ class ShellExampleLexer(RegexLexer):
+
+
+ def setup(app):
+- app.add_lexer("shell-example", ShellExampleLexer())
++ app.add_lexer("shell-example", ShellExampleLexer)