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 28 29 30 31 32 33 34
|
From: Neil Williams <codehelp@debian.org>
Date: Mon, 22 Nov 2021 08:03:33 +0000
Subject: 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.
Forwarded: not-needed
---
docs/conf.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/conf.py b/docs/conf.py
index ebe6d53..ec7cb8e 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -34,11 +34,11 @@ extensions = [
]
intersphinx_mapping = {
- "python": ("https://docs.python.org/3.10", 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 = {
|