Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Update docs/topics/extensions.rst

Aaron Tan880a4d949333
diff --git a/docs/topics/extensions.rst b/docs/topics/extensions.rst
index 08272a25d..297e1fdc5 100644
--- a/docs/topics/extensions.rst
+++ b/docs/topics/extensions.rst
@@ -323,14 +323,10 @@ domain has finished scraping, including the Scrapy stats collected. The email
will be sent to all recipients specified in the :setting:`STATSMAILER_RCPTS`
setting.
-Emails can be sent using the MailSender class
-
-.. module:: scrapy.mail
- :synopsis: MailSender class
-
-.. class:: MailSender
-
-To see a full list of parameters, including examples on how to instantiate MailSender and using mail settings, see :ref:`topics-email`
+Emails can be sent using the :class:`~scrapy.mail.MailSender` class. To see a
+full list of parameters, including examples on how to instantiate
+:class:`~scrapy.mail.MailSender` and use mail settings, see
+:ref:`topics-email`.
.. module:: scrapy.extensions.debug
:synopsis: Extensions for debugging Scrapy