From: =?utf-8?q?Karsten_Sch=C3=B6ke?= <karsten.schoeke@geobasis-bb.de>
Date: Mon, 11 Aug 2025 12:43:47 +0200
Subject: sphinx: use local inventory references for intersphinx

Forwarded: not-needed
Last-Update: 2025-03-19

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.
---
 docs/sphinx/conf.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py
index d153793..e3cb15e 100644
--- a/docs/sphinx/conf.py
+++ b/docs/sphinx/conf.py
@@ -80,9 +80,10 @@ html_static_path = ["_static"]
 html_css_files = ["css/custom.css"]
 
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
+    "python": ("https://docs.python.org/3", 
+               "/usr/share/doc/python3-doc/html/objects.inv"),
     "elastic-transport": (
         "https://elastic-transport-python.readthedocs.io/en/latest",
-        None,
+        "/usr/share/doc/python-elastic-transport-doc/html/objects.inv",
     ),
 }
