From af22bcee228451882c9bf0aeaa733ebb129738b4 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Fri, 3 Jan 2025 14:50:16 +0000 Subject: [PATCH] Port to Sphinx 8.0 The old `intersphinx_mapping` format has been removed; it must now map identifiers to (target, inventory) tuples. --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index fd908b2..01dc3e6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -311,7 +311,7 @@ # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'https://docs.python.org/3': None,} +intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} # on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org on_rtd = os.environ.get('READTHEDOCS', None) == 'True'