Skip to content

Commit 961653a

Browse files
committed
fix: address codex review findings (docs part)
1 parent 67a0c3b commit 961653a

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/api.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Message Methods
8787
.. method:: Message.send_async(to=None, set_mail_to=True, mail_from=None, set_mail_from=False, render=None, smtp_mail_options=None, smtp_rcpt_options=None, smtp=None)
8888

8989
Send the message via SMTP asynchronously. Requires ``aiosmtplib``
90-
(install with ``pip install emails[async]``).
90+
(install with ``pip install "emails[async]"``).
9191

9292
Parameters are the same as :meth:`send`, except ``smtp`` accepts a dict
9393
or an :class:`AsyncSMTPBackend` instance.
@@ -323,7 +323,7 @@ AsyncSMTPBackend
323323
----------------
324324

325325
For async sending via :meth:`Message.send_async`. Requires ``aiosmtplib``
326-
(install with ``pip install emails[async]``).
326+
(install with ``pip install "emails[async]"``).
327327

328328
.. class:: emails.backend.smtp.aio_backend.AsyncSMTPBackend(ssl=False, fail_silently=True, mail_options=None, \*\*kwargs)
329329

@@ -470,7 +470,7 @@ template instance as the ``html``, ``text``, or ``subject`` parameter of
470470

471471
Install template dependencies with extras::
472472

473-
pip install emails[jinja] # for JinjaTemplate
473+
pip install "emails[jinja]" # for JinjaTemplate
474474

475475
.. class:: emails.template.JinjaTemplate(template_text, environment=None)
476476

docs/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Attach files or inline images:
3232
message.attach(data=open('image.png', 'rb'), filename='image.png',
3333
content_disposition='inline')
3434
35-
Use templates (requires ``pip install emails[jinja]``):
35+
Use templates (requires ``pip install "emails[jinja]"``):
3636

3737
.. code-block:: python
3838

docs/install.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ To use HTML transformation features (CSS inlining, image embedding, loading from
1313

1414
.. code-block:: bash
1515
16-
$ pip install emails[html]
16+
$ pip install "emails[html]"
1717
1818
To use Jinja2 templates (the ``T()`` shortcut):
1919

2020
.. code-block:: bash
2121
22-
$ pip install emails[jinja]
22+
$ pip install "emails[jinja]"
2323
2424
To use async sending (``send_async()``):
2525

2626
.. code-block:: bash
2727
28-
$ pip install emails[async]
28+
$ pip install "emails[async]"

docs/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ with the same variables.
197197

198198
Jinja2 templates require the ``jinja2`` package. Install it with::
199199

200-
pip install emails[jinja]
200+
pip install "emails[jinja]"
201201

202202
Two other template backends are available:
203203

0 commit comments

Comments
 (0)