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

@@ -468,7 +468,7 @@ AnymailMessageMixin
Mixin class that adds Anymail's ESP extra attributes and convenience methods
to other :class:`~django.core.mail.EmailMessage` subclasses.
For example, with the `django-mail-templated`_ package's custom EmailMessage:
For example, with the :pypi:`django-mail-templated` package's custom EmailMessage:
.. code-block:: python
@@ -489,6 +489,3 @@ AnymailMessageMixin
)
msg.context = {"order_num": "12345"} # Mail-Templated attribute
msg.tags = ["templated"] # Anymail attribute
.. _django-mail-templated: https://pypi.python.org/pypi/django-mail-templated