Development Notes
Documentation Workflow
Edit docs under
docs/source/.Keep API docstrings in NumPy style so
numpydocrenders cleanly.Build and validate docs with warnings as errors:
uv run python -m sphinx -W --keep-going -b html docs/source docs/_build/html
API Docs Generation
The API reference pages use Sphinx autosummary + autodoc and are generated from modules in src/clearex.
Add new modules to
docs/source/api/index.rst.Keep type hints and docstrings up to date to get high quality rendered docs.
Useful Commands
uv run ruff check src tests
uv run --with pytest --with requests python -m pytest -q