Debian Codegraph @

debian/patches/0001-Use-a-local-copy-of-objects.inv.patch

raw
1 From: Boyuan Yang <[email protected]>
2 Date: Wed, 13 Sep 2023 12:46:11 -0400
3 Subject: Use a local copy of objects.inv
4
5 Use a local copy of objects.inv from
6 * doc.python.org
7 * cairographics.org
8 * cffi.readthedocs.io
9
10 ...instead of downloading them each time from the internet
11 ---
12 docs/conf.py | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15 Index: cairocffi/docs/conf.py
16 ===================================================================
17 --- cairocffi.orig/docs/conf.py
18 +++ cairocffi/docs/conf.py
19 @@ -47,7 +47,9 @@ html_theme_options = {
20 }
21
22 # Favicon URL
23 -html_favicon = 'https://www.courtbouillon.org/static/images/favicon.png'
24 +
25 +#Removed due to privacy concerns.
26 +#html_favicon = 'https://www.courtbouillon.org/static/images/favicon.png'
27
28 # Add any paths that contain custom static files (such as style sheets) here,
29 # relative to this directory. They are copied after the builtin static files,
30 @@ -80,7 +82,7 @@ texinfo_documents = [(
31 ]
32
33 intersphinx_mapping = {
34 - 'python': ('https://docs.python.org/3/', None),
35 - 'pycairo': ('https://cairographics.org/documentation/pycairo/2/', None),
36 - 'cffi': ('https://cffi.readthedocs.io/en/latest/', None),
37 + 'python': ('../debian/python.org_objects.inv', None),
38 + 'pycairo': ('../debian/cairographics.org_pycairo2_objects.inv', None),
39 + 'cffi': ('../debian/cffi.readthedocs.io_cffi_objects.inv', None),
40 }