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 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 9f1ab88..4e77ed3 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -271,12 +271,12 @@ texinfo_documents = [
 rst_prolog = '.. |...| unicode:: U+2026   .. ellipsis\n'
 
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/3', None),
-    'six': ('https://six.readthedocs.io', None),
-    'attrs': ('http://www.attrs.org/en/stable', None),
-    'cython': ('http://docs.cython.org/en/latest', None),
+    'python': ('https://docs.python.org/3', f'/usr/share/doc/python{sys.version_info.major}.{sys.version_info.minor}/html/objects.inv'),
+    'six': ('https://six.readthedocs.io', '/usr/share/doc/python-six/html/objects.inv'),
+    'attrs': ('http://www.attrs.org/en/stable', '/usr/share/doc/python-attr-doc/html/objects.inv'),
+    'cython': ('http://docs.cython.org/en/latest', '/usr/share/doc/cython-doc/html/objects.inv'),
     'monkeytype': ('https://monkeytype.readthedocs.io/en/latest', None),
-    'setuptools': ('https://setuptools.readthedocs.io/en/latest', None),
+    'setuptools': ('https://setuptools.readthedocs.io/en/latest', '/usr/share/doc/python-setuptools-doc/html/objects.inv'),
 }
 
 
