Writing documentation#
Each topic lives in its own Markdown file. The left sidebar groups these pages into chapters; headings inside a page appear in the right sidebar.
Add a page#
Create a file in the relevant chapter directory, for example
docs/getting-started/android.md:
# Android setup
A short introduction to this topic.
## Requirements
Describe the required tools.
## Build
```bash
./scripts/run.sh -t arm64-v8a
```
Preview and publish#
From the documentation repository root, with its virtual environment activated:
python -m sphinx -b html -W --keep-going docs _build/html
python -m http.server 8000 --directory _build/html
Open http://localhost:8000. Push to main to publish; pull requests build the
documentation for validation without deploying it.