From 26b59ced744c49052c7940437ff6f1f6667ef56f Mon Sep 17 00:00:00 2001
From: Tristan Seligmann <mithrandi@debian.org>
Date: Thu, 8 Oct 2015 09:57:13 -0700
Subject: Use the system copy of the Python documentation inventory

Forwarded: no
Patch-Name: use-system-inventory
---
 docs/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 23d719a..863a421 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,8 +17,8 @@ extensions = [
     'sphinx.ext.extlinks',
 ]
 intersphinx_mapping = {
-    'python': ('https://docs.python.org/2.7', None),
-    'python3': ('https://docs.python.org/3.5', None),
+    'python': ('https://docs.python.org/2.7', '/usr/share/doc/python2.7/html/objects.inv'),
+    'python3': ('https://docs.python.org/3.6', '/usr/share/doc/python3.6/html/objects.inv'),
 }
 source_suffix = '.rst'
 master_doc = 'index'
