Building the Documentation
The docs are built with MkDocs using the Material theme.
Install dependencies
For development:
For docs only:
Live preview
Starts a local server with hot-reload on file changes:
Then open http://127.0.0.1:8000 in your browser.
Build static site
Outputs the static HTML to site/:
The site/ directory is git-ignored and should not be committed.
Adding or editing pages
- Edit or create a
.mdfile underdocs/. - If it's a new page, add it to the
nav:section inmkdocs.yml. - Run
mkdocs serveto preview.
Deploying to GitHub Pages
Docs are versioned with mike. Do not use mkdocs gh-deploy - it overwrites the entire gh-pages branch and destroys version history.
Deploy a new version
Example for a release:
This builds the docs, pushes them to gh-pages under /<version>/, and updates the latest alias to point to it.