The Flower documentation lives in the doc directory. The Sphinx-based documentation
system supports both reStructuredText (.rst files) and Markdown (.md files).
Note that, in order to build the documentation locally (with python -m poetry run make
html, as described below), Pandoc needs to
be installed on the system.
- Edit an existing
.rst(or.md) file underframework/docs/source/ - Compile the docs:
cd framework/docs, thenpython -m poetry run make html - Open
framework/docs/build/html/index.htmlin the browser to check the result
- Add new
.rstfile underframework/docs/source/ - Add content to the new
.rstfile - Link to the new rst from
index.rst - Compile the docs:
cd framework/docs, thenpython -m poetry run make html - Open
framework/docs/build/html/index.htmlin the browser to check the result