From 509865d10b474f61b0ba3362698f35893ebca711 Mon Sep 17 00:00:00 2001 From: Luiz Silva Date: Fri, 6 Dec 2019 19:12:41 -0300 Subject: [PATCH] Improve documentation --- docs/topics/request-response.rst | 2 +- docs/topics/settings.rst | 2 +- docs/topics/spider-middleware.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst index 2baf1f022..1676602be 100644 --- a/docs/topics/request-response.rst +++ b/docs/topics/request-response.rst @@ -172,7 +172,7 @@ Request objects ``copy()`` or ``replace()`` methods, and can also be accessed, in your spider, from the ``response.meta`` attribute. - Values are only acessible on the next :class:`Response`, to forward a key/value + Values are only acessible on the next :class:`~scrapy.http.Response`, to forward a key/value through subsequent responses see :class:`~scrapy.spidermiddlewares.stickymeta.StickyMetaParamsMiddleware`. .. attribute:: Request.cb_kwargs diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index f6ae11117..a5843f79b 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -1390,7 +1390,7 @@ STICKY_META_KEYS Default: ``[]`` (empty list) -Configure which key/values should be stickied in :attr:`Request.meta`. See +Configure which key/values should be stickied in :attr:`Request.meta `. See :class:`~scrapy.spidermiddlewares.stickymeta.StickyMetaParamsMiddleware` for more info. .. setting:: TELNETCONSOLE_ENABLED diff --git a/docs/topics/spider-middleware.rst b/docs/topics/spider-middleware.rst index dd313d0c7..3a109f2a5 100644 --- a/docs/topics/spider-middleware.rst +++ b/docs/topics/spider-middleware.rst @@ -463,7 +463,7 @@ StickyMetaParamsMiddleware When enabled and configured, this middleware forwards the desired :ref:`Request.meta ` parameters between ``Requests`` and ``Responses``. - The :class:`StickyMetaParamsMiddleware` can be configured through the settings :setting:`STICKY_META_KEYS`. + The :class:`StickyMetaParamsMiddleware` can be configured through the :setting:`STICKY_META_KEYS` setting. See the difference between :ref:`topics-spiders` with and without the middleware: