Docs Workflow¶
This repository uses MkDocs for documentation authoring and GitHub Pages for publication.
Local Preview¶
On macOS, system Python may block global pip install because of PEP 668. Use a virtual environment instead.
python3 -m venv .venv-docs
source .venv-docs/bin/activate
pip install -r ./docs/mkdocs-requirements.txt
mkdocs serve
Local preview URL:
http://127.0.0.1:8000
Strict Build¶
To validate links and configuration before pushing:
source .venv-docs/bin/activate
mkdocs build --strict
The generated static site is written to out/docs/site/ and is ignored by Git.
Publication¶
GitHub Pages is deployed from the workflow in .github/workflows/pages.yml.
The workflow:
- checks out the repository
- installs Python 3.11
- installs
docs/mkdocs-requirements.txt - runs
mkdocs build --strict - uploads
out/docs/site/as the Pages artifact - deploys the generated site
When Deploy Runs¶
The Pages workflow runs:
- manually with
workflow_dispatch - automatically on pushes to
mainwhen documentation-related files change
Editing Guidance¶
Prefer keeping product documentation in focused Markdown pages under docs/.
Good candidates for future pages:
- audio engine architecture
- streaming pipeline
- packaging and release process
- frontend integration contract