File: docs-Use-inventary-from-packages.patch

package info (click to toggle)
python-validate-pyproject 0.24.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,340 kB
  • sloc: python: 3,053; makefile: 46; sh: 25
file content (46 lines) | stat: -rw-r--r-- 2,177 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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"),