Monorepo containing the Quantinuum documentation UI component library
(documentation-ui/) and the Sphinx theme (sphinx-ui/).
This repository uses prek to enforce formatting and
commit message conventions before each commit. prek is a fast, dependency-free
alternative to pre-commit, written in Rust.
- Node.js / npm — required by the Biome format check and commitlint hooks.
No Python or other runtime is needed to run prek itself.
-
Install prek using the standalone installer:
curl -LsSf https://prek.j178.dev/install.sh | shOr via pip / pipx if you prefer a Python-managed install:
pipx install prek
-
Install the git hooks into the repository:
prek install
Because the config sets
default_install_hook_types, this single command installs both thepre-commitandcommit-msgshims automatically.
To run all hooks against every file (useful after initial setup or to check the full codebase):
prek run --all-filesTo run a single hook by id:
prek run no-tabs --all-files