scrapy/docs
Andrey Rahmatullin afa5881ada
Merge pull request #5279 from erikkemperman/option-logfile-truncate
Add LOG_FILE_APPEND to settings
2021-10-18 11:51:42 +05:00
..
_ext Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
_static Move lists closer to their introducing paragraph 2021-02-03 11:43:18 +01:00
_templates Rebranding, updated GA code 2021-04-01 11:11:28 +03:00
_tests Make developer-tools doctests pass 2019-11-25 12:32:35 +01:00
intro Update docs/intro/overview.rst 2021-10-16 10:52:54 -03:00
topics Add LOG_FILE_APPEND to settings 2021-10-15 16:36:41 +02:00
utils Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
Makefile Find bash from PATH instead of /bin/bash 2021-04-06 02:21:18 +05:30
README.rst Update docs README with build instructions using tox 2020-05-26 19:09:23 +01:00
conf.py Move lists closer to their introducing paragraph 2021-02-03 11:43:18 +01:00
conftest.py Make tutorial doctests pass 2019-11-12 08:08:50 +01:00
contributing.rst as soon as → as long as (#4825) 2020-10-02 19:53:55 -03:00
faq.rst Merge pull request #3669 from Gallaecio/spider-name-collision 2021-08-17 19:42:53 +05:00
index.rst Revert "Move documentation about avoiding bans into a topic of its own (#4039)" 2021-08-23 19:55:35 +05:00
news.rst Fix typos 2021-10-11 22:32:42 +08:00
requirements.txt docs: require sphinx-rtd-theme>=0.5.2 and the latest pip to prevent installing breaking docutils>=0.17 2021-04-07 14:04:00 +02:00
versioning.rst Fix typos 2021-10-11 22:32:42 +08:00

README.rst

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head>
orphan:

Scrapy documentation quick start guide

This file provides a quick guide on how to compile the Scrapy documentation.

Setup the environment

To compile the documentation you need Sphinx Python library. To install it and all its dependencies run the following command from this dir

pip install -r requirements.txt

Compile the documentation

To compile the documentation (to classic HTML output) run the following command from this dir:

make html

Documentation will be generated (in HTML format) inside the build/html dir.

View the documentation

To view the documentation run the following command:

make htmlview

This command will fire up your default browser and open the main page of your (previously generated) HTML documentation.

Start over

To cleanup all generated documentation files and start from scratch run:

make clean

Keep in mind that this command won't touch any documentation source files.

Recreating documentation on the fly

There is a way to recreate the doc automatically when you make changes, you need to install watchdog (pip install watchdog) and then use:

make watch

Alternative method using tox

To compile the documentation to HTML run the following command:

tox -e docs

Documentation will be generated (in HTML format) inside the .tox/docs/tmp/html dir.

</html>