Skip to content

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

Fix module double indexing issues in the documentation

Adrián Chavesea209a0ea781
diff --git a/docs/topics/stats.rst b/docs/topics/stats.rst
index dd0c6216b..38648ec55 100644
--- a/docs/topics/stats.rst
+++ b/docs/topics/stats.rst
@@ -75,8 +75,7 @@ available in Scrapy which extend the basic Stats Collector. You can select
which Stats Collector to use through the :setting:`STATS_CLASS` setting. The
default Stats Collector used is the :class:`MemoryStatsCollector`.
-.. module:: scrapy.statscollectors
- :synopsis: Stats Collectors
+.. currentmodule:: scrapy.statscollectors
MemoryStatsCollector
--------------------
diff --git a/docs/topics/telnetconsole.rst b/docs/topics/telnetconsole.rst
index 1eb705f05..7db7e4f6b 100644
--- a/docs/topics/telnetconsole.rst
+++ b/docs/topics/telnetconsole.rst
@@ -1,12 +1,11 @@
+.. currentmodule:: scrapy.extensions.telnet
+
.. _topics-telnetconsole:
==============
Telnet Console
==============
-.. module:: scrapy.extensions.telnet
- :synopsis: The Telnet Console
-
Scrapy comes with a built-in telnet console for inspecting and controlling a
Scrapy running process. The telnet console is just a regular python shell
running inside the Scrapy process, so you can do literally anything from it.