Read the Docs Setup Guide¶
This package is already prepared for Read the Docs with MkDocs.
Included files¶
.readthedocs.yamlmkdocs.ymldocs/requirements.txt
Steps in Read the Docs¶
- Create/import project in Read the Docs.
- Point to repository containing
packages/queopius/sentinel. - Ensure default branch is correct.
- Trigger build.
Read the Docs will detect:
- config file:
.readthedocs.yaml - docs toolchain: MkDocs
- Python dependencies from
docs/requirements.txt
Local preview¶
From packages/queopius/sentinel:
python3 -m venv .venv
source .venv/bin/activate
pip install -r docs/requirements.txt
mkdocs serve
Open local URL shown by MkDocs.
Build docs locally¶
mkdocs build --strict
Common fixes¶
- Broken nav path: verify entries in
mkdocs.ymlare relative todocs/. - Theme/plugin issues: pin versions in
docs/requirements.txt. - Missing page in RTD: ensure file is committed and included in
nav.