Sphinx extension for documentation in the Scrapy ecosystem.
Automatic configuration of intersphinx for Python and Scrapy.
Ready-to-use, easy-to-enable configuration for the following packages of the Scrapy ecosystem is also available:
twisted (and twistedapi)To automatically configure intersphinx for any of those packages if installed, add to your
conf.py
file:scrapy_intersphinx_enable_installed = True
You can also enable or disable the automatic intersphinx configuration of packages manually:
scrapy_intersphinx_enable = [ "parsel", "w3lib", ] scrapy_intersphinx_disable = [ "scrapy", ]
Automatic configuration of Sphinx roles of the Scrapy documentation, so that you can easily link to Scrapy settings, request metadata keys, signals and commands:
:setting:`BOT_NAME` :setting:`LOG_LEVEL <scrapy:LOG_LEVEL>` :reqmeta:`download_slot` :signal:`spider_opened` :command:`crawl`
Install:
pip install sphinx-scrapy
Add to your
conf.py
:extensions = [ "sphinx.ext.intersphinx", "sphinx_scrapy", ]
See Release notes for a list of releases and their changes.