Documentation¶
This site is built with MkDocs Material and deployed to GitHub Pages.
Prerequisites¶
- Python 3.x
- pip
Local Development¶
Install dependencies¶
Start local preview¶
Open http://localhost:8000 to preview the site. Changes to .md files and mkdocs.yml are reflected in real time.
Build the site¶
This generates the static site in the site/ directory (git-ignored).
Deployment¶
The docs are auto-deployed via the deploy-docs.yml GitHub Actions workflow on every push to main that changes files in docs/ or mkdocs.yml. The workflow can also be triggered manually via workflow_dispatch.
The workflow uses the modern GitHub Pages approach with actions/upload-pages-artifact and actions/deploy-pages.
One-time setup
The repository must have GitHub Pages configured to use GitHub Actions as the source: Settings > Pages > Source > GitHub Actions.
Module Graph¶
The docs/MODULE_GRAPH.md file is auto-generated by the update-module-graph CI workflow on each push to main. Do not edit it manually — changes will be overwritten.
The module graph is included inline in the Module Structure page using pymdownx.snippets.
Adding New Pages¶
- Create a new
.mdfile in the appropriatedocs/subdirectory - Add the page to the
nav:section inmkdocs.yml - Push to
main— the site will rebuild automatically
Available Features¶
Mermaid Diagrams¶
Use fenced code blocks with the mermaid language:
Admonitions¶
Tabbed Content¶
Code Blocks¶
Code blocks support syntax highlighting, line numbers, and a copy button: