Documentation site for the Coven project, built with Fumadocs.
pnpm install
pnpm devVisit http://localhost:3000 in your browser.
app/- Next.js App Router documentation sitecontent/docs/- MDX documentation, organized by section (each folder has ameta.json)components/- React components used in the docs (e.g.Mermaid, data tables)scripts/- build and validation scripts (docs conventions, Mermaid, OpenAPI)openapi/- OpenAPI specs rendered intocontent/docs/openapi/
pnpm buildThe build also runs the docs checks (English-only, no leading H1, per-section
docs conventions, and Mermaid validation) before next build, so a broken
diagram or convention violation fails the build.
Hooks are tracked in .githooks/ and shared across
clones. pnpm install activates them via the prepare script
(git config core.hooksPath .githooks); to enable without a full install, run
that command once.
pre-commit— scans staged files for secrets withgitleaks(skips with a warning if gitleaks is not installed; allow-list false positives in.gitleaks.toml).pre-push— runspnpm run check:mermaidwhen the push touches.mdxor Mermaid tooling, blocking on invalid diagram syntax.
Emergency bypass (avoid): git commit --no-verify / git push --no-verify.
Deploy to Vercel or your preferred hosting.