scrapy/docs
Adrián Chaves 63becd1bc8
Update news.rst
2020-11-17 21:58:08 +01:00
..
_ext Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
_static DOC remove css file which isno longer needed 2015-04-15 03:44:49 +05:00
_templates Add Segment Analytics to Documentation 2016-09-02 14:51:07 -03:00
_tests Make developer-tools doctests pass 2019-11-25 12:32:35 +01:00
intro dependecies → dependencies (#4801) 2020-09-21 14:40:00 +02:00
topics Docs: add a note about asyncio.set_event_loop 2020-11-06 13:29:14 -03:00
utils Remove the u prefix from strings 2020-07-30 13:39:30 +02:00
Makefile Add a Sphinx extension to generate documentation coverage information 2019-06-04 15:03:25 +02:00
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 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 Allow overwriting feeds (#4512) 2020-08-17 15:10:08 +02:00
index.rst Documentation of link extractor usage (#4775) 2020-10-01 23:50:11 +05:00
news.rst Update news.rst 2020-11-17 21:58:08 +01:00
requirements.txt Loose restrictions for docs requirements 2020-04-14 14:57:20 -03:00
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>