Skip to content

Commit 55113ff

Browse files
emollierachilleas-k
authored andcommitted
d/s/conf.py: move to modern intersphinx_mapping.
Since Sphinx 8.0, support for the old intersphinx_mapping format has been removed. Attempts to build the documentation result in the following errors: Running Sphinx v8.1.3 loading translations [en]... done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. ERROR: Invalid value `None` in intersphinx_mapping['http://docs.python.org/']. Expected a two-element tuple or list. ERROR: Invalid value `None` in intersphinx_mapping['http://docs.scipy.org/doc/numpy']. Expected a two-element tuple or list. This change migrates intersphinx_mapping to the new format. This has been initially reported as [Debian bug #1090153]. [Debian bug #1090153]: https://bugs.debian.org/1090153 Signed-off-by: Étienne Mollier <[email protected]>
1 parent 35bfce2 commit 55113ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@
3535
html_theme = 'default'
3636

3737
# intersphinx configuration
38-
intersphinx_mapping = {'http://docs.python.org/': None,
39-
'http://docs.scipy.org/doc/numpy': None}
38+
intersphinx_mapping = {'python': ['http://docs.python.org/', None],
39+
'scipy': ['http://docs.scipy.org/doc/numpy', None] }

0 commit comments

Comments
 (0)