All documentation is found in the /docs
directory.
- If you need to create a new entry, add the new document in markdown (
.md
extension) to the corresponding folder. Otherwise, just edit the corresponding file.
Make sure the document has one single
# header
, otherwise they will be considered different documents.
- If a new folder is added, add it to the
toctree
insidedocs/source/index.rst
(as theperipherals
folder is) - Commit and push
After each change to the documentation, once the branch is merged into the main branch of X-HEEP, anyone must do the following:
- Open a terminal in the
docs
folder and make sure the conda environment is activated. - If it is your first time updating the web docs, run:
pip install -r requirements.txt
- Run
make clean html
- Wait a few minutes and enjoy your brand new documentation in Read the Docs.
Thank you for helping keep X-HEEP accurately and extensively documented!