Description: Use local inventory for Python3.
 Patch for replacing the external URL with local inventory for Python3 in
 intersphinx mapping in doc + Removed mapping for the ones do not have
 local inventory in Debian.
Forwarded: not-needed
Author: Yogeswaran Umasankar <yogu@debian.org>
Last-Update: 2024-08-07

--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -270,10 +270,9 @@ modindex_common_prefix = ["pylatex."]
 todo_include_todos = True
 
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
-    "matplotlib": ("http://matplotlib.org/", None),
-    "numpy": ("https://docs.scipy.org/doc/numpy/", None),
-    "quantities": ("https://pythonhosted.org/quantities/", "quantities-inv.txt"),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "matplotlib": ("/usr/share/doc/python-matplotlib-doc/html", None),
+    "numpy": ("/usr/share/doc/python-numpy-doc", None),
 }
 
 
