[Python-modules-commits] [elasticsearch-curator] 04/18: sphinx: use local inventory references for intersphinx
Apollon Oikonomopoulos
apoikos at moszumanska.debian.org
Tue Oct 17 08:17:01 UTC 2017
This is an automated email from the git hooks/post-receive script.
apoikos pushed a commit to branch master
in repository elasticsearch-curator.
commit 7bf31d8a1f4e0c9fc143097c7c6e1dde35be7fae
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 d4e4540..b77a05f 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.6', None),
- 'elasticsearch': ('http://elasticsearch-py.readthedocs.io/en/5.4.0', None),
+ 'python': ('https://docs.python.org/3.6',
+ '/usr/share/doc/python3-doc/html/objects.inv'),
+ 'elasticsearch': ('http://elasticsearch-py.readthedocs.io/en/5.4.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