From 75da65ccc17add38d7cab79d69f93db4ae495d31 Mon Sep 17 00:00:00 2001 From: Tim Schilling Date: Sun, 30 Apr 2023 03:15:12 -0500 Subject: [PATCH] Switch to sphinx 7's intersphinx_mapping usage. (#1767) https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#confval-intersphinx_mapping --- docs/conf.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 18b02f9f7..f6795a6d3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,8 +59,11 @@ # html_static_path = ['_static'] intersphinx_mapping = { - "https://docs.python.org/": None, - "https://docs.djangoproject.com/en/dev/": "https://docs.djangoproject.com/en/dev/_objects/", + "python": ("https://docs.python.org/", None), + "django": ( + "https://docs.djangoproject.com/en/dev/", + "https://docs.djangoproject.com/en/dev/_objects/", + ), } # -- Options for Read the Docs -----------------------------------------------