summaryrefslogtreecommitdiffstats
path: root/debian/patches/intersphinx_mapping.patch
blob: 708fee87cbdd77bf8e8f5c131fe49299ddb6f72f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: "P. J. McDermott" <pj@pehjota.net>
Forwarded: not-needed
Subject: Use non-None object inventory values in intersphinx_mapping

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -249,4 +249,9 @@
 
 
 # Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}
+intersphinx_mapping = {
+    'http://docs.python.org/':
+    '/usr/share/doc/python' +
+    '.'.join([str(x) for x in sys.version_info[0:2]]) +
+    '/html/objects.inv',
+}