File: 0002-docs-repro.patch

package info (click to toggle)
python-azure 20250603%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 851,724 kB
  • sloc: python: 7,362,925; ansic: 804; javascript: 287; makefile: 195; sh: 145; xml: 109
file content (24 lines) | stat: -rw-r--r-- 1,117 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Author: Luca Boccassi <bluca@debian.org>
Description: remove networked references from Sphinx mapping
 it causes the docs build to be non reproducible. python3-doc ships
 a local database so it can be used instead, but other packages do
 not, therefore we cannot upstream this patch.
Forwarded: no
--- a/doc/sphinx/conf.py
+++ b/doc/sphinx/conf.py
@@ -60,14 +60,7 @@
 
 intersphinx_mapping = {
     # Dependencies
-    'python': ('https://docs.python.org/3.11', None),
-    'requests': ('https://requests.kennethreitz.org/en/latest/', None),
-    'aiohttp': ('https://docs.aiohttp.org/en/stable/', None),
-    'trio': ('https://trio.readthedocs.io/en/stable/', None),
-    'msal': ('https://msal-python.readthedocs.io/en/latest/', None),
-    # Azure packages
-    'azure-core': ('https://azuresdkdocs.z19.web.core.windows.net/python/azure-core/latest/', None),
-    'azure-identity': ('https://azuresdkdocs.z19.web.core.windows.net/python/azure-identity/latest/', None),
+    'python': ('https://docs.python.org/3.11', ('/usr/share/doc/python3-doc/html/objects.inv', None)),
 }
 
 autodoc_member_order = 'groupwise'