Read the Docs Setup#
This repository is ready for Read the Docs via .readthedocs.yaml.
Project import steps#
Open Read the Docs Dashboard.
Click Import a Project.
Select
kaivyy/watonrepository.Confirm default branch (usually
main).
Build configuration used#
Config file:
.readthedocs.yamlBuilder: Sphinx
Sphinx config:
docs/source/conf.pyInstall command:
pip install .[docs]
Local verification before pushing#
python -m pip install .[docs]
python -m sphinx -W --keep-going -b html docs/source docs/build/html
Generated site will be available at:
docs/build/html/index.html
Operational checklist#
Before release/tag:
Update
CHANGELOG.md.Ensure docs pages are linked from
docs/source/index.rst.Build docs locally and confirm success.
Push branch/tag and verify RTD build result.
Open published docs and smoke-test key pages: - Getting Started (including
waton.simplesnippet) - Quickstart App - Event Model - Browser Dashboard
Troubleshooting#
Build fails with import errors
Make sure
pyproject.tomlincludesdocsoptional dependencies.
Page exists but not visible in docs nav
Add it in
docs/source/index.rsttoctree.
No automatic builds after push
Check GitHub webhook/integration status in RTD project settings.