From ea209a0ea7815f68a04a5ccab79a2b4f4a146647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Mon, 3 Jun 2019 19:21:40 +0200 Subject: [PATCH] Fix module double indexing issues in the documentation --- docs/topics/stats.rst | 3 +-- docs/topics/telnetconsole.rst | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) 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.