Skip to main content

Setup

Docs preview

The docs use Mintlify. From the docs/ directory:
The preview is served at http://localhost:3000.

Releasing to PyPI

The package is published as khaos-ml. Releases are tag-driven: a push to master runs the tests (ci.yml), and pushing a tag runs release.yml, which checks the tag against the version, runs the tests, builds, and publishes with PyPI trusted publishing (no token is stored anywhere).
  1. Set __version__ in khaos/__init__.py. It is the only place the version lives.
  2. Commit, then tag and push: git tag v1.0.1 && git push origin master v1.0.1.
PyPI refuses to upload the same version twice, so every release needs a new version number.

Commit conventions

  • All lowercase, short and concise
  • Prefix with a tag: feat, fix, chore, refactor, docs, test
  • The first commit of the project is init commit
  • Never push to master without maintainer approval

Adding a vertical (placeholder)

Lorem ipsum dolor sit amet, consectetur adipiscing elit.