From 2c7823399391d3249aa5a0f82c32f31612e6fe4a Mon Sep 17 00:00:00 2001
From: Simon Chopin <chopin.simon@gmail.com>
Date: Thu, 8 Oct 2015 09:55:55 -0700
Subject: Use local intersphinx inventories

 Instead of linking to the online Python documentation, the generated doc will
 link to the python-doc packages.
Forwarded: not-needed
Patch-Name: use_local_intersphinx_links
---
 docs/conf.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 8bd1359..0b6e464 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -94,9 +94,9 @@ extlinks = {
 }
 
 intersphinx_mapping = {
-    'python': ('http://python.readthedocs.org/en/latest/', None),
-    'python2': ('http://python.readthedocs.org/en/v2.7.2/', None),
-    'discid': ('http://python-discid.readthedocs.org/en/latest/', None),
+    'python': ('file:///usr/share/doc/python-doc/html/', None),
+    'python2': ('file:///usr/share/doc/python2.7-doc/html/', None),
+    'discid': ('file:///usr/share/doc/python-libdiscid-doc/html', None),
 }
 
 
