From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Fri, 30 Dec 2022 18:46:02 +0100
Subject: docs: Use inventary from packages

Most of the intersphinx modules can be taken from packages.

pyscaffold and pypa aren't packaged yet.

Forwarded: Not-Needed
---
 docs/conf.py | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 2a9dcbd..eb572ee 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -282,17 +282,17 @@ latex_documents = [
 # -- External mapping --------------------------------------------------------
 python_version = ".".join(map(str, sys.version_info[0:2]))
 intersphinx_mapping = {
-    "sphinx": ("https://www.sphinx-doc.org/en/master", None),
-    "python": ("https://docs.python.org/" + python_version, None),
-    "matplotlib": ("https://matplotlib.org", None),
-    "numpy": ("https://numpy.org/doc/stable", None),
-    "sklearn": ("https://scikit-learn.org/stable", None),
-    "pandas": ("https://pandas.pydata.org/pandas-docs/stable", None),
-    "scipy": ("https://docs.scipy.org/doc/scipy/reference", None),
-    "setuptools": ("https://setuptools.pypa.io/en/stable/", None),
-    "pyscaffold": ("https://pyscaffold.org/en/stable", None),
-    "fastjsonschema": ("https://horejsek.github.io/python-fastjsonschema/", None),
-    "pypa": ("https://packaging.python.org/en/latest/", None),
+    "sphinx": ("/usr/share/doc/sphinx-doc/html", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "matplotlib": ("/usr/share/doc/python-matplotlib-doc/html", None),
+    "numpy": ("/usr/share/doc/python-numpy/html", None),
+    "sklearn": ("/usr/share/doc/python-sklearn-doc/html", None),
+    "pandas": ("/usr/share/doc/python-pandas-doc/html", None),
+    "scipy": ("/usr/share/doc/python-scipy-doc/html", None),
+    "setuptools": ("/usr/share/doc/python-setuptools-doc/html", None),
+#    "pyscaffold": ("https://pyscaffold.org/en/stable", None),
+    "fastjsonschema": ("/usr/share/doc/python-fastjsonschema-doc/html", None),
+#    "pypa": ("https://packaging.python.org/en/latest/", None),
 }
 extlinks = {
     "issue": (f"{repository}/issues/%s", "issue #%s"),
