File: intersphinx.patch

package info (click to toggle)
nbformat 5.10.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,072 kB
  • sloc: python: 4,746; makefile: 167; javascript: 2
file content (28 lines) | stat: -rw-r--r-- 1,158 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
From: Debian Python Team <team+python@tracker.debian.org>
Date: Fri, 2 Jan 2026 20:24:37 +0000
Subject: use local documentation instead of network access

Forwarded: not-needed
---
 docs/conf.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 775061a..d039e72 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -303,10 +303,10 @@ texinfo_documents = [
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
-    "jupyterclient": ("https://jupyter-client.readthedocs.io/en/stable", None),
-    "nbconvert": ("https://nbconvert.readthedocs.org/en/stable", None),
-    "notebook": ("https://jupyter-notebook.readthedocs.org/en/stable", None),
+    "python": ("/usr/share/doc/python3-doc/html", None),
+    "jupyterclient": ("/usr/share/doc/python-jupyter-client-doc/html", None),
+    "nbconvert": ("/usr/share/doc/python-nbconvert-doc/html", None),
+    "notebook": ("/usr/share/doc/python-notebook-doc/html", None),
     "server": ("https://jupyter-server.readthedocs.org/en/stable", None),
 }