Documentation¶
We automatically generate our documentation with a tool called Sphinx.
A Sphinx extension, called sphinx-apidoc,
automatically generates Sphinx sources as reStructuredText or .rst files from the cozmo_taste_game package.
For a primer on reStructuredText see Sphinx’s reStructuredText Primer.
Sphinx creates the HTML and other necessary files in docs/_build.
We host our documentation using a free service called Read the Docs.
How to Update the Docs¶
- Make your desired changes.
- Run
make htmlfrom./docs. - Verify your changes by opening
docs/_build/html/index.htmlin your favorite web browser. - Commit, and push your changes. Read the Docs will update the documentation site upon pushing.