File: intersphinx

package info (click to toggle)
mypy 1.15.0-5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 20,576 kB
  • sloc: python: 105,159; cpp: 11,380; ansic: 6,629; makefile: 247; sh: 20
file content (33 lines) | stat: -rw-r--r-- 1,215 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
From: "Michael R. Crusoe" <crusoe@debian.org>
Date: Sat, 2 Apr 2022 17:49:43 -0400
Subject: link to local documenatin

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

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 79a5c06..8d2b84e 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -276,11 +276,14 @@ texinfo_documents = [
 rst_prolog = ".. |...| unicode:: U+2026   .. ellipsis\n"
 
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
-    "attrs": ("https://www.attrs.org/en/stable/", None),
-    "cython": ("https://docs.cython.org/en/latest", None),
-    "monkeytype": ("https://monkeytype.readthedocs.io/en/latest", None),
-    "setuptools": ("https://setuptools.readthedocs.io/en/latest", None),
+    "python": ("/usr/share/doc/python3/html/", None),
+    "attrs": ("/usr/share/doc/python-attr-doc/html/", None),
+    "cython": ("/usr/share/doc/cython3/html/", None),
+    "monkeytype": (
+        "https://monkeytype.readthedocs.io/en/latest",
+        "../../debian/intersphinx/monkeytype_objects.inv"
+    ),
+    "setuptools": ("/usr/share/doc/python-setuptools-doc/html/", None),
 }