Update documentation generation instructions.

This commit is contained in:
Cadel Watson 2017-01-20 09:32:08 +11:00
parent 7c4ffa8866
commit 30862c0a3e

View File

@ -13,8 +13,7 @@ Sanic's documentation is built using [sphinx](http://www.sphinx-doc.org/en/1.5.1
To generate the documentation from scratch: To generate the documentation from scratch:
```bash ```bash
rm -f docs/_api/* sphinx-apidoc -fo docs/_api/ sanic
sphinx-apidoc -o docs/_api/ sanic
sphinx-build -b html docs docs/_build sphinx-build -b html docs docs/_build
``` ```