Description: sphinx: use local inventory references for intersphinx

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.

Author: Karsten Schöke <karsten.schoeke@geobasis-bb.de>

Forwarded: not-needed
Last-Update: 2025-08-04

--- python-elastic-transport-9.1.0.orig/docs/sphinx/conf.py
+++ python-elastic-transport-9.1.0/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"),
 }
