Skip to content

Commit

Permalink
docs/conf.py: Use modern intersphinx_mapping format
Browse files Browse the repository at this point in the history
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
  • Loading branch information
EwoutH authored and rht committed Aug 12, 2024
1 parent 97d6a4f commit 6a31300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,4 @@


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

0 comments on commit 6a31300

Please sign in to comment.