This project uses the uv package manager.
- To add a dependency, run
uv add <package>. - To run a script, run
uv run <script>. - To examine dependencies, consult the
pyproject.tomlfile.
- Always run tests before committing. The test command is
uv run prek run --all-files.
- If asked to help with a release, refer to the checklist in CONTRIBUTING.md. Be sure to first share a draft of the release notes with the user before actually publishing the release to GitHub.
- To trigger the release workflow via GitHub CLI:
gh workflow run create-draft-release.yml --field version_type=patch(useminorormajorinstead ofpatchas needed)
- All documentation is in the
docsdirectory. Pages are indocs/src/content/docs. - Use Node.js 22.12+ and pnpm. Run
pnpm install --frozen-lockfileandpnpm buildfromdocs/to validate changes. - If you add a new page, be sure to add it to the sidebar in
docs/src/navigation.ts. - If you move a page, be sure to update the sidebar in
docs/src/navigation.tsand check for any broken links.
- Add images to the
docs/public/imagesdirectory - If the image is a png, first convert it to webp using
magick <input.png> <output.webp>. Do not include the original png in the repo. - Use the
<Frame>tag to add images with captions as seen in the pagecheckpoint-forking.mdx.
- Add notes using the
<Note>tag as seen in the pageruler.mdx