[Python-modules-commits] [elasticsearch-curator] 03/06: sphinx: use local inventory references for intersphinx

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Sat Sep 10 09:12:10 UTC 2016


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

apoikos pushed a commit to branch master
in repository elasticsearch-curator.

commit 16da01da01d8d5a387e85941cba8b696c149e4ba
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Fri Jul 22 23:48:07 2016 +0300

    sphinx: use local inventory references for intersphinx
    
    Note that we will not be making this conditional: we want the build to
    fail if intersphinx was to fetch inventory data from the internet.
    
    Closes: #830550
---
 docs/conf.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 6ff9369..95ffc43 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -47,8 +47,10 @@ sys.path.insert(0, os.path.abspath('../'))
 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx']
 
 intersphinx_mapping = {
-	'python': ('https://docs.python.org/3.5', None),
-	'elasticsearch': ('http://elasticsearch-py.readthedocs.io/en/2.3.0', None),
+	'python': ('https://docs.python.org/3.5',
+               '/usr/share/doc/python3-doc/html/objects.inv'),
+	'elasticsearch': ('http://elasticsearch-py.readthedocs.io/en/2.3.0',
+               '/usr/share/doc/python-elasticsearch-doc/html/objects.inv'),
 }
 
 autoclass_content = "both"

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



More information about the Python-modules-commits mailing list