[Python-modules-commits] [python-dugong] 04/11: Use local intersphinx inventory

Nikolaus Rath nikratio-guest at moszumanska.debian.org
Sat Oct 8 03:42:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

nikratio-guest pushed a commit to branch master
in repository python-dugong.

commit cdf2dfcb0896376f9ec68c488bdad9fbd208f895
Author: Nikolaus Rath <Nikolaus at rath.org>
Date:   Thu Oct 8 11:58:34 2015 -0700

    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'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-dugong.git



More information about the Python-modules-commits mailing list