Description: Use a local copy of intersphinx inventory objects
 This is required to avoid requiring access to Internet while building the
 package, and to avoid warnings avoid missing references that produce broken
 links.
Forwarded: not-needed
Author: Santiago Ruano Rincón <santiago@freexian.com>
Last-Update: 2025-09-03

Index: tango/doc/src/source/conf.py
===================================================================
--- tango.orig/doc/src/source/conf.py
+++ tango/doc/src/source/conf.py
@@ -414,14 +414,14 @@ epub_exclude_files = ["search.html"]
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
-    "itango": ("https://itango.readthedocs.io/en/latest/", None),
-    "pytango": ("https://pytango.readthedocs.io/en/latest/", None),
-    "python": ("https://docs.python.org/3", None),
-    "jive": ("https://jive.readthedocs.io/en/latest/", None),
-    "astor": ("https://tango-astor.readthedocs.io/en/latest/", None),
-    "atk": ("https://tangoatk.readthedocs.io/en/latest/", None),
-    "taranta": ("https://taranta.readthedocs.io/en/latest/", None),
-    "rfc": ("https://rfc.readthedocs.io/en/latest/", None),
+    "itango": ("https://itango.readthedocs.io/en/latest/", "../../../debian/intersphinx/itango-objects.inv"),
+    "pytango": ("https://pytango.readthedocs.io/en/latest/", "../../../debian/intersphinx/pytango-objects.inv"),
+    "python": ("/usr/share/doc/python3/html/", None),
+    "jive": ("https://jive.readthedocs.io/en/latest/", "../../../debian/intersphinx/jive-objects.inv"),
+    "astor": ("https://tango-astor.readthedocs.io/en/latest/", "../../../debian/intersphinx/tango-astor-objects.inv"),
+    "atk": ("https://tangoatk.readthedocs.io/en/latest/", "../../../debian/intersphinx/tangoatk-objects.inv"),
+    "taranta": ("https://taranta.readthedocs.io/en/latest/", "../../../debian/intersphinx/taranta-objects.inv"),
+    "rfc": ("https://rfc.readthedocs.io/en/latest/", "../../../debian/intersphinx/tango-rfc-objects.inv"),
 }
 
 # link checking options
