summaryrefslogtreecommitdiffstats
path: root/debian/patches/intersphinx_mapping.patch
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-29 21:22:05 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-29 21:22:05 (EDT)
commitf564fa1aec5fbc57e92b39ab88649e29fbb309b6 (patch)
tree91aac53fa7f30f1322d265d64e8d7850cea9180d /debian/patches/intersphinx_mapping.patch
downloadweasyprint-f564fa1aec5fbc57e92b39ab88649e29fbb309b6.zip
weasyprint-f564fa1aec5fbc57e92b39ab88649e29fbb309b6.tar.gz
weasyprint-f564fa1aec5fbc57e92b39ab88649e29fbb309b6.tar.bz2
Initial commit.
Diffstat (limited to 'debian/patches/intersphinx_mapping.patch')
-rw-r--r--debian/patches/intersphinx_mapping.patch22
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'),
+ }