Skip to content

Commit

Permalink
Merge pull request #6223 from jxlil/docs/remove_external_docs
Browse files Browse the repository at this point in the history
Fix: Remove docs for other projects from the Scrapy docs
  • Loading branch information
wRAR committed Feb 16, 2024
2 parents 9bb973d + 36f7287 commit ba8993e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
7 changes: 1 addition & 6 deletions docs/topics/items.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
==============================
Expand Down
6 changes: 2 additions & 4 deletions docs/topics/selectors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit ba8993e

Please sign in to comment.