File: 0003-use-local-intersphinx.patch

package info (click to toggle)
guidata 3.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,436 kB
  • sloc: python: 16,866; makefile: 17
file content (24 lines) | stat: -rw-r--r-- 802 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca@debian.org>
Date: Thu, 27 Jul 2023 17:46:55 +0200
Subject: use local intersphinx

---
 doc/conf.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index 6dbb4f3..214c478 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -38,9 +38,8 @@ modindex_common_prefix = ["guidata."]
 autodoc_member_order = "bysource"
 
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
-    "numpy": ("https://numpy.org/doc/stable/", None),
-    "h5py": ("https://docs.h5py.org/en/stable/", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "h5py": ("/usr/share/doc/python-h5py-doc/html", None),
 }
 # nitpicky = True  # Uncomment to warn about all broken links