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
|
From: Karsten Schöke <karsten.schoeke@geobasis-bb.de>
Subject: sphinx: use local inventory references for intersphinx
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Note that we will not be making this conditional: we want the build to
fail if intersphinx was to fetch inventory data from the internet.
Forwarded: not-needed
Last-Update: 2025-08-04
---
docs/sphinx/conf.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py
index 85a6eda..61b3ee5 100644
--- a/docs/sphinx/conf.py
+++ b/docs/sphinx/conf.py
@@ -44,6 +44,8 @@ html_theme = "furo"
html_static_path = []
intersphinx_mapping = {
- "python": ("https://docs.python.org/3", None),
- "requests": ("https://requests.readthedocs.io/en/latest", None),
+ "python": ("https://docs.python.org/3",
+ "/usr/share/doc/python3-doc/html/objects.inv"),
+ "requests": ("https://requests.readthedocs.io/en/latest",
+ "/usr/share/doc/python-requests-doc/html/objects.inv"),
}
|