From 96e526aad8ac93966e383a054d151e6561270bc7 Mon Sep 17 00:00:00 2001 From: Yohanna Lisnichuk Date: Thu, 15 Dec 2022 10:01:55 -0300 Subject: [PATCH 1/2] docs: change DOWNLOAD_DELAY description format To be consistent with the other settings' descriptions --- docs/topics/settings.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 40bcda288..c935e74a7 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -652,8 +652,10 @@ per ip address instead of per domain. .. _spider-download_delay-attribute: -You can also change this setting per spider by setting ``download_delay`` -spider attribute. +Note + +This delay can be set per spider using :attr:`download_delay` spider attribute. + .. setting:: DOWNLOAD_HANDLERS From b63ca6f834d06ba9b63108079129705f6326354c Mon Sep 17 00:00:00 2001 From: Yohanna Lisnichuk Date: Thu, 15 Dec 2022 13:20:45 -0300 Subject: [PATCH 2/2] docs: use the right notes directive --- docs/topics/settings.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index c935e74a7..022265992 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -652,10 +652,9 @@ per ip address instead of per domain. .. _spider-download_delay-attribute: -Note - -This delay can be set per spider using :attr:`download_delay` spider attribute. +.. note:: + This delay can be set per spider using :attr:`download_delay` spider attribute. .. setting:: DOWNLOAD_HANDLERS