How to run cog, closes #1745

This commit is contained in:
Simon Willison 2022-05-17 12:43:44 -07:00 committed by GitHub
commit 5555bc8aef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -211,6 +211,17 @@ For added productivity, you can use use `sphinx-autobuild <https://pypi.org/proj
Now browse to ``http://localhost:8000/`` to view the documentation. Any edits you make should be instantly reflected in your browser.
.. _contributing_documentation_cog:
Running Cog
~~~~~~~~~~~
Some pages of documentation (in particular the :ref:`cli_reference`) are automatically updated using `Cog <https://github.com/nedbat/cog>`__.
To update these pages, run the following command::
cog -r docs/*.rst
.. _contributing_continuous_deployment:
Continuously deployed demo instances