Merge pull request #6223 from jxlil/docs/remove_external_docs

Fix: Remove docs for other projects from the Scrapy docs
This commit is contained in:
Andrey Rakhmatullin 2024-02-16 23:59:10 +04:00 committed by GitHub
commit ba8993ec09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 10 deletions

View File

@ -399,12 +399,7 @@ In code that receives an item, such as methods of :ref:`item pipelines
<topics-spider-middleware>`, it is a good practice to use the
:class:`~itemadapter.ItemAdapter` class and the
:func:`~itemadapter.is_item` function to write code that works for
any :ref:`supported item type <item-types>`:
.. autoclass:: itemadapter.ItemAdapter
.. autofunction:: itemadapter.is_item
any supported item type.
Other classes related to items
==============================

View File

@ -1032,10 +1032,8 @@ whereas the CSS lookup is translated into XPath and thus runs more efficiently,
so performance-wise its uses are limited to situations that are not easily
described with CSS selectors.
Parsel also simplifies adding your own XPath extensions.
.. autofunction:: parsel.xpathfuncs.set_xpathfunc
Parsel also simplifies adding your own XPath extensions with
:func:`~parsel.xpathfuncs.set_xpathfunc`.
.. _topics-selectors-ref: