diff options
Diffstat (limited to 'debian/patches/intersphinx_mapping.patch')
-rw-r--r-- | debian/patches/intersphinx_mapping.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/intersphinx_mapping.patch b/debian/patches/intersphinx_mapping.patch new file mode 100644 index 0000000..6b8fa17 --- /dev/null +++ b/debian/patches/intersphinx_mapping.patch @@ -0,0 +1,22 @@ +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 +@@ -251,7 +251,12 @@ + + # Example configuration for intersphinx: refer to the Python standard library. + intersphinx_mapping = { +- 'python': ('http://docs.python.org/', None), +- 'pycairo': ('http://www.cairographics.org/documentation/pycairo/2/', None), +- 'cairocffi': ('http://pythonhosted.org/cairocffi/', None), ++ 'python': ('http://docs.python.org/', ++ '/usr/share/doc/python' + ++ '.'.join([str(x) for x in sys.version_info[0:2]]) + ++ '/html/objects.inv'), ++ 'pycairo': ('http://www.cairographics.org/documentation/pycairo/2/', ++ '/usr/share/doc/python-cairo-dev/html/objects.inv'), ++ 'cairocffi': ('http://pythonhosted.org/cairocffi/', ++ '/usr/share/doc/python-cairocffi-doc/html/objects.inv'), + } |