Description: use local docs for intersphinx links
Author: Martin <debacle@debian.org>
Origin: vendor
Last-Update: 2025-01-21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -103,8 +103,8 @@
 # -- Options for HTML output -------------------------------------------------
 
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
-    "slixmpp": ("https://slixmpp.readthedocs.io/en/latest/", None),
+    "python": ("/usr/share/doc/python3-doc/html", "/usr/share/doc/python3-doc/html/objects.inv"),
+    "slixmpp": ("/usr/share/doc/python-slixmpp-doc/html", "/usr/share/doc/python-slixmpp-doc/html/objects.inv"),
 }
 
 extlinks = {"xep": ("https://xmpp.org/extensions/xep-%s.html", "XEP-%s")}
