From 20c9297c6dfd94f09c9cda4a2da8c95a13840d66 Mon Sep 17 00:00:00 2001 From: tschilling Date: Sat, 29 Apr 2023 06:53:22 -0500 Subject: [PATCH] Switch to sphinx 7's intersphinx_mapping usage. 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 -----------------------------------------------