Debian Codegraph @

debian/patches/intersphinx_mapping

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