scrapy/docs
Andrey Rahmatullin 5a38639359
Merge pull request #4809 from madeny/patch-1
Correct some typos
2020-09-28 18:26:43 +05:00
..
_ext Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
_static
…
_templates
…
_tests
…
intro dependecies → dependencies (#4801) 2020-09-21 14:40:00 +02:00
topics Merge pull request #4809 from madeny/patch-1 2020-09-28 18:26:43 +05:00
utils Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
Makefile
…
README.rst Update docs README with build instructions using tox 2020-05-26 19:09:23 +01:00
conf.py Use f-strings (#4307) 2020-08-26 07:11:05 +02:00
conftest.py
…
contributing.rst Cover version directive usage in the documentation policy (#4310) 2020-08-27 23:56:58 +05:00
faq.rst Allow overwriting feeds (#4512) 2020-08-17 15:10:08 +02:00
index.rst
…
news.rst Cover Scrapy 2.2.1 and 2.3 in the release notes (#4708) 2020-08-04 20:05:56 +02:00
requirements.txt
…
versioning.rst Cover our deprecation policy in the documentation 2020-07-30 14:03:14 +02: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>