Development¶
Local Commands¶
make install
make format
make lint
make test
make docs
make build
make check
make check runs formatting checks, linting, tests, strict documentation
build, and package build.
Releases¶
Releases are intended to be owned by GitHub Actions and Python Semantic Release.
Merge conventional commits to
main.Python Semantic Release computes the version.
It updates version metadata and
CHANGELOG.md.It creates the release commit, tag, and GitHub release.
GitHub Actions builds the package.
GitHub Actions publishes to PyPI using trusted publishing/OIDC.
Do not store a long-lived PyPI token in the repository.
Read the Docs¶
Documentation publication should be configured in Read the Docs using the
recommended repository integration. GitHub Actions validates
sphinx-build -W -b html docs/source docs/build/html, but does not deploy
documentation.
Repository-owner setup:
Create or import the
search-smithRTD project.Connect the GitHub repository.
Enable builds for
main.Confirm
.readthedocs.yamlis detected.