1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
From: Nikolaus Rath <Nikolaus@rath.org>
Date: Thu, 8 Oct 2015 11:58:34 -0700
Subject: Use local intersphinx inventory
Forwarded: not-needed
Last-Update: 2014-03-11
Instead of downloading the Python intersphinx directory
at build time, use the cached copy shipped in debian/.
Patch-Name: use-local-intersphinx.patch
---
rst/conf.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rst/conf.py b/rst/conf.py
index f312145..851f20c 100644
--- a/rst/conf.py
+++ b/rst/conf.py
@@ -8,7 +8,8 @@ import os.path
sys.path.append(os.path.abspath('..'))
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx' ]
-intersphinx_mapping = {'python': ('http://docs.python.org/3/', None) }
+intersphinx_mapping = {'python': ('http://docs.python.org/3/',
+ '../debian/python.inv')}
templates_path = ['_templates']
source_suffix = '.rst'
source_encoding = 'utf-8'
|