pip install -r docs/requirements.txt
mkdocs serve# Example: release v1.16
./hack/release.sh 1.16
# Preview changes without modifying anything
./hack/release.sh --dry-run 1.16The script performs three steps automatically:
- Demote previous stable branch — removes
current stablealias andmike set-defaultfrom the previous release branch's CI - Create new release branch — checks out a new branch from master, sets it as the stable default with mike, updates mkdocs.yml and PDF link
- Prepare master for next development — bumps mike/mkdocs version on master to the next minor version, adds new section heading to
docs/reference/next.md
For reference, the manual steps these replace: