Skip to content

Commit

Permalink
doc: Fix sphinx deprecation warning
Browse files Browse the repository at this point in the history
Sphinx [6.2.0] and later will warn we are not using the “new” (well introduced in [1.0] in 2010) syntax:

    WARNING: The pre-Sphinx 1.0 'intersphinx_mapping' format is deprecated and will be removed in Sphinx 8. Update to the current format as described in the documentation. Hint: "intersphinx_mapping = {'<name>': ('http://docs.python.org/', None)}".https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping

[6.2.0]: https://www.sphinx-doc.org/en/master/changes.html#release-6-2-0-released-apr-23-2023
[1.0]: https://www.sphinx-doc.org/en/master/changes.html#release-1-0-jul-23-2010
  • Loading branch information
jtojnar committed Aug 4, 2024
1 parent 0303431 commit b90b848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,4 +258,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 b90b848

Please sign in to comment.