Merge pull request #3230 from Andrew-Chen-Wang/patch-1

Update docs/howto.rst
This commit is contained in:
Bruno Alla 2021-06-22 09:57:37 +01:00 committed by GitHub
commit 17a41afc2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,20 +4,19 @@ How To - Project Documentation
Get Started 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' %} {% 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. from inside the `{{cookiecutter.project_slug}}/docs` directory.
{% else %} {% 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 %} {% endif %}
Changes to files in `docs/_source` will be picked up and reloaded automatically. Changes to files in `docs/_source` will be picked up and reloaded automatically.