Skip to content

docs: add VitePress documentation site - #5

Merged
Alex-Dolid merged 1 commit into
mainfrom
feat/docs
Jul 28, 2026
Merged

docs: add VitePress documentation site#5
Alex-Dolid merged 1 commit into
mainfrom
feat/docs

Conversation

@Alex-Dolid

Copy link
Copy Markdown
Contributor

Adds a VitePress site under docs/, mirroring the setup used in the
migronaut repo: single config.mts, DefaultTheme + brand CSS variables
(Cerbos-style amber), local MiniSearch, full SEO stack (JSON-LD,
OG/Twitter, per-page canonical, sitemap, robots.txt, llms.txt).

The README is split into 24 pages across guide/, api/ and reference/,
with in-page anchors rewritten as cross-page links. README.md itself is
left unchanged so the npm page does not regress.

Deployed to Vercel via vercel.json; CI gains a Node 22 docs job that
runs docs:build — dead links fail the build, so navigation stays valid.

Mermaid diagrams render via vitepress-plugin-mermaid. Its transitive
deps are direct devDependencies because the plugin hardcodes them into
optimizeDeps.include and pnpm's strict linking leaves them unresolvable
in docs:dev.

Adds a VitePress site under docs/, mirroring the setup used in the
migronaut repo: single config.mts, DefaultTheme + brand CSS variables
(Cerbos-style amber), local MiniSearch, full SEO stack (JSON-LD,
OG/Twitter, per-page canonical, sitemap, robots.txt, llms.txt).
The README is split into 24 pages across guide/, api/ and reference/,
with in-page anchors rewritten as cross-page links. README.md itself is
left unchanged so the npm page does not regress.
Deployed to Vercel via vercel.json; CI gains a Node 22 docs job that
runs docs:build — dead links fail the build, so navigation stays valid.
Mermaid diagrams render via vitepress-plugin-mermaid. Its transitive
deps are direct devDependencies because the plugin hardcodes them into
optimizeDeps.include and pnpm's strict linking leaves them unresolvable
in docs:dev.
@Alex-Dolid
Alex-Dolid merged commit 7ad41e2 into main Jul 28, 2026
5 checks passed
@Alex-Dolid
Alex-Dolid deleted the feat/docs branch July 28, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant