summaryrefslogtreecommitdiffstats
path: root/debian/patches/intersphinx_mapping.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/intersphinx_mapping.patch')
-rw-r--r--debian/patches/intersphinx_mapping.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/intersphinx_mapping.patch b/debian/patches/intersphinx_mapping.patch
new file mode 100644
index 0000000..708fee8
--- /dev/null
+++ b/debian/patches/intersphinx_mapping.patch
@@ -0,0 +1,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',
++}