Docs: simplify PyPI links

Use `:pypi:` sphinx-ext-extlink role for links to PyPI,
and add some missing package links.
This commit is contained in:
medmunds
2017-09-08 14:16:09 -07:00
parent 2faa5f96cb
commit 90b9dc6cfa
6 changed files with 15 additions and 14 deletions

View File

@@ -35,7 +35,7 @@ needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.intersphinx']
extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.extlinks']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -256,6 +256,11 @@ texinfo_documents = [
# How to display URL addresses: 'footnote', 'no', or 'inline'.
# texinfo_show_urls = 'footnote'
# -- Options for extlinks ---------------------------------------------------
extlinks = {
'pypi': ('https://pypi.python.org/pypi/%s', ''),
}
# -- Options for Intersphinx ------------------------------------------------