aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/ganeti-sphinx-compat.patch
blob: 4e84abbf3702bed84cd6ec9a384914c3d5626010 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)