Skip to content

Commit 42f13ad

Browse files
committed
docs/conf.py: Use modern intersphinx_mapping format
With Sphinx 8.0 they removed the old `intersphinx_mapping` format we were still using, which was introduced in Sphinx 0.5. This means an 10 year old line of code got our docs failing. This commit updates the `docs/conf.py` file to use the new `intersphinx_mapping` format, as described here: https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping
1 parent 75fa2f8 commit 42f13ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,4 +279,4 @@
279279

280280

281281
# Example configuration for intersphinx: refer to the Python standard library.
282-
intersphinx_mapping = {"http://docs.python.org/": None}
282+
intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}

0 commit comments

Comments
 (0)