mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 03:24:01 +03:00
Merge pull request #3230 from Andrew-Chen-Wang/patch-1
Update docs/howto.rst
This commit is contained in:
commit
17a41afc2d
|
@ -4,20 +4,19 @@ How To - Project Documentation
|
|||
Get Started
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Documentation can be written as rst files in the `{{cookiecutter.project_slug}}/docs/_source`.
|
||||
Documentation can be written as rst files in `{{cookiecutter.project_slug}}/docs`.
|
||||
|
||||
{% if cookiecutter.use_docker == 'n' %}
|
||||
To build and serve docs, use the command:
|
||||
::
|
||||
To build and serve docs, use the command::
|
||||
|
||||
make livehtml
|
||||
make livehtml
|
||||
|
||||
from inside the `{{cookiecutter.project_slug}}/docs` directory.
|
||||
{% else %}
|
||||
To build and serve docs, use the commands:
|
||||
::
|
||||
To build and serve docs, use the commands::
|
||||
|
||||
docker-compose -f local.yml up docs
|
||||
docker-compose -f local.yml up docs
|
||||
|
||||
{% endif %}
|
||||
|
||||
Changes to files in `docs/_source` will be picked up and reloaded automatically.
|
||||
|
|
Loading…
Reference in New Issue
Block a user