From 014af46727d70bb2765f4f9ae1d95b3a0d740838 Mon Sep 17 00:00:00 2001 From: Diederik van der Boor Date: Mon, 5 Feb 2024 14:04:40 +0100 Subject: [PATCH] Fix intersphinx deprecation warnings --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d1690d4..a8215fb 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -269,8 +269,8 @@ # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - "http://docs.python.org/": None, - "https://docs.djangoproject.com/en/dev": "https://docs.djangoproject.com/en/dev/_objects", + "http://docs.python.org/": ('https://docs.python.org/3', None), + 'django': ('http://docs.djangoproject.com/en/stable/', 'http://docs.djangoproject.com/en/stable/_objects/'), "parler": ("http://django-parler.readthedocs.org/en/latest/", None), "comments": ("http://django-contrib-comments.readthedocs.org/en/latest/", None), }