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(-)

--- mypy.orig/docs/source/conf.py
+++ mypy/docs/source/conf.py
@@ -276,11 +276,14 @@
 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://cython.readthedocs.io/en/stable", None),
-    "monkeytype": ("https://monkeytype.readthedocs.io/en/latest", None),
-    "setuptools": ("https://setuptools.pypa.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),
 }
 
 
--- mypy.orig/mypyc/doc/conf.py
+++ mypy/mypyc/doc/conf.py
@@ -38,7 +38,7 @@
 # ones.
 extensions = ["sphinx.ext.intersphinx"]
 
-intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
+intersphinx_mapping = {"python": ("/usr/share/doc/python3/html/", None)}
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ["_templates"]
