Releases
Use the same release version throughout; the examples below use 1.0.0 and Git tag v1.0.0.
-
Check that the docs match the implementation, especially configured tool versions.
-
Update
CHANGELOG.md: review the entries underUnreleased, move them into a new release section with the version and release date, and leave anUnreleasedsection for future changes. -
Snapshot the docs with Docusaurus from
website/:npx docusaurus docs:version 1.0.0npm run buildInclude the generated
website/versions.json,website/versioned_docs/, andwebsite/versioned_sidebars/in the release commit along with the docs and changelog changes. -
Commit the release changes and integrate them into
master. From the release commit onmaster, push the branch before creating and pushing the tag:git push origin mastergit tag -a v1.0.0 -m "Release 1.0.0"git push origin v1.0.0Pushing the tag triggers the documentation deployment.