How to Update This Markdown Book
Setup
If not already done, install mdbook
Serving locally
Run the following in the repository root directory:
- If any python files were modified,
- Install pipx
- Install pydoc-markdown
- run
pydoc-markdown -I python/ --render-toc > docs/src/python-doc.md
. Do not modify this file manually.
- Run
mdbook serve --open docs/
Publishing
- Update
book.toml
or files indocs/src/
- Make sure the docs look good locally by running the steps in Serving Locally.
- Commit files and push to
fastsim-2
branch
After that, a GitHub action will build the book and publish it.