Description: Update sphinx config to use local inventory
Use local inventory files to generate intersphinx mappings, instead of trying
to access the network during package build.  Based on the patch at
https://sources.debian.org/src/celery/3.1.23-7/debian/patches/intersphinx.patch/
Author: Bill Blough <bblough@debian.org>
Forwarded: not-needed
Last-Update: 2018-08-10
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: django-cas-server/docs/conf.py
===================================================================
--- django-cas-server.orig/docs/conf.py	2025-10-19 14:47:56.469653122 -0400
+++ django-cas-server/docs/conf.py	2025-10-19 14:52:49.824317611 -0400
@@ -374,16 +374,12 @@
     '/usr/share/doc/python{v}/html/objects.inv'.format(
         v='.'.join(map(str, sys.version_info[0:2]))
     ),
-    'https://docs.python.org/{v}/objects.inv'.format(
-        v='.'.join(map(str, sys.version_info[0:2]))
-    )
 ))
 
 intersphinx_mapping.update(check_object_path(
     'django',
     'https://docs.djangoproject.com/en/stable/',
     '/usr/share/doc/python-django-doc/html/objects.inv',
-    "https://docs.djangoproject.com/en/stable/_objects"
 ))
 
 autodoc_member_order = 'bysource'
