1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
From: Neil Williams <codehelp@debian.org>
Date: Mon 22 Nov 08:03:33 GMT 2021
Forwarded: not-needed
Description: Use local intersphinx inventory
See bug #1000184 and https://wiki.debian.org/SphinxDocumentation
Note the <!nodoc> decorator in d.control
Prevents RC bug from network access during doc build.
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -34,11 +34,11 @@
]
intersphinx_mapping = {
- "python": ("https://docs.python.org/3.9", None),
- "requests": ("https://requests.readthedocs.io/en/latest/", None),
- "requests-oauthlib": ("https://requests-oauthlib.readthedocs.io/en/latest/", None),
- "ipython": ("https://ipython.readthedocs.io/en/stable/", None),
- "pip": ("https://pip.pypa.io/en/stable/", None),
+ "python": ("/usr/share/doc/python3-doc/html", None),
+ "requests": ("/usr/share/doc/python-requests-doc/html", None),
+ "requests-oauthlib": ("/usr/share/doc/python-requests-oauthlib-doc/html", None),
+ "ipython": ("/usr/share/doc/python-ipython-doc/html", None),
+ #"pip": ("https://pip.pypa.io/en/stable/", None),
}
autodoc_default_options = {
|