Debian Codegraph @

debian/patches/intersphinx

raw
1 From: "Michael R. Crusoe" <[email protected]>
2 Date: Sat, 2 Apr 2022 17:49:43 -0400
3 Subject: link to local documenatin
4
5 Forwarded: not-needed
6 ---
7 docs/source/conf.py | 13 ++++++++-----
8 1 file changed, 8 insertions(+), 5 deletions(-)
9
10 --- mypy.orig/docs/source/conf.py
11 +++ mypy/docs/source/conf.py
12 @@ -276,11 +276,14 @@
13 rst_prolog = ".. |...| unicode:: U+2026 .. ellipsis\n"
14
15 intersphinx_mapping = {
16 - "python": ("https://docs.python.org/3", None),
17 - "attrs": ("https://www.attrs.org/en/stable/", None),
18 - "cython": ("https://cython.readthedocs.io/en/stable", None),
19 - "monkeytype": ("https://monkeytype.readthedocs.io/en/latest", None),
20 - "setuptools": ("https://setuptools.pypa.io/en/latest", None),
21 + "python": ("/usr/share/doc/python3/html/", None),
22 + "attrs": ("/usr/share/doc/python-attr-doc/html/", None),
23 + "cython": ("/usr/share/doc/cython3/html/", None),
24 + "monkeytype": (
25 + "https://monkeytype.readthedocs.io/en/latest",
26 + "../../debian/intersphinx/monkeytype_objects.inv"
27 + ),
28 + "setuptools": ("/usr/share/doc/python-setuptools-doc/html/", None),
29 }
30
31