From 2762ea9ff894de3a2ba8d0026d88c01aaad08760 Mon Sep 17 00:00:00 2001 From: medmunds Date: Thu, 26 Sep 2019 19:25:20 -0700 Subject: [PATCH] Docs: fix broken intersphinx mapping for `requests` The requests docs may be moving, and redirects are currently broken. Load the intersphinx inventory from a (currently) working temporary location. --- docs/conf.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 2142bc0..bd0c520 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -272,7 +272,12 @@ extlinks = { intersphinx_mapping = { 'python': ('https://docs.python.org/3.6', None), 'django': ('https://docs.djangoproject.com/en/stable/', 'https://docs.djangoproject.com/en/stable/_objects/'), - 'requests': ('http://docs.python-requests.org/en/latest/', None), + # Requests docs may be moving (Sep 2019): + # see https://github.com/psf/requests/issues/5212 + # and https://github.com/psf/requests/issues/5214 + 'requests': ('https://docs.python-requests.org/en/latest/', + ('https://docs.python-requests.org/en/latest/objects.inv', + 'https://requests.kennethreitz.org/en/latest/objects.inv')), }