Scrapy, a fast high-level web crawling & scraping framework for Python.
spiders.rst: indent warnings into class descriptions
Adrián Chaves73ff9ffd6474
diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rstindex a3e9f410f..903fbd383 100644--- a/docs/topics/spiders.rst+++ b/docs/topics/spiders.rst@@ -422,10 +422,9 @@ Crawling rulesIt receives a :class:`Twisted Failure <twisted.python.failure.Failure>`instance as first parameter.--.. warning:: Because of its internal implementation, you must explicitly set- callbacks for new requests when writing :class:`CrawlSpider`-based spiders;- unexpected behaviour can occur otherwise.+ .. warning:: Because of its internal implementation, you must explicitly set+ callbacks for new requests when writing :class:`CrawlSpider`-based spiders;+ unexpected behaviour can occur otherwise... versionadded:: 2.0The *errback* parameter.@@ -557,10 +556,9 @@ XMLFeedSpideritem IDs. It receives a list of results and the response which originatedthose results. It must return a list of results (items or requests).--.. warning:: Because of its internal implementation, you must explicitly set- callbacks for new requests when writing :class:`XMLFeedSpider`-based spiders;- unexpected behaviour can occur otherwise.+ .. warning:: Because of its internal implementation, you must explicitly set+ callbacks for new requests when writing :class:`XMLFeedSpider`-based spiders;+ unexpected behaviour can occur otherwise.XMLFeedSpider example