Debian Codegraph @

debian/patches/sphinx-8.0.patch

raw
1 From: Colin Watson <[email protected]>
2 Date: Fri, 3 Jan 2025 14:50:16 +0000
3 Subject: Port to Sphinx 8.0
4
5 The old `intersphinx_mapping` format has been removed; it must now map
6 identifiers to (target, inventory) tuples.
7
8 Forwarded: https://github.com/jupyter/jupyter_console/pull/301
9 Bug-Debian: https://bugs.debian.org/1090099
10 Last-Update: 2025-01-03
11 ---
12 docs/conf.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/docs/conf.py b/docs/conf.py
16 index 7ea597b..eac8d17 100644
17 --- a/docs/conf.py
18 +++ b/docs/conf.py
19 @@ -310,7 +310,7 @@ texinfo_documents = [
20
21
22 # Example configuration for intersphinx: refer to the Python standard library.
23 -intersphinx_mapping = {'https://docs.python.org/3': None,}
24 +intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
25
26 # on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
27 on_rtd = os.environ.get('READTHEDOCS', None) == 'True'