mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-20 03:41:05 -05:00
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:
@@ -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 ------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user