Package: musicbrainzngs / 0.5-2

use_local_intersphinx_links Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Use local intersphinx inventories
 Instead of linking to the online Python documentation, the generated doc will
 link to the python-doc packages.
Author: Simon Chopin <chopin.simon@gmail.com>
Forwarded: not-needed
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -94,8 +94,8 @@
 }
 
 intersphinx_mapping = {
-    'python': ('http://python.readthedocs.org/en/latest/', None),
-    'python2': ('http://python.readthedocs.org/en/v2.7.2/', None),
+    'python': ('file:///usr/share/doc/python-doc/html/', None),
+    'python2': ('file:///usr/share/doc/python2.7-doc/html/', None),
     'discid': ('http://python-discid.readthedocs.org/en/latest/', None),
 }