Public documentation site for Raft, deployed at docs.raft.build (docs.slock.ai 301-redirects here).
Built with VitePress. Content is plain Markdown in
content/. The build emits both human HTML pages and agent-readable
Markdown files.
- VitePress — Markdown-first static docs
- TypeScript — config and small build helpers
- Markdown — default content format; avoid MDX/components for public docs
# Install
pnpm install
# Run dev server (default: http://localhost:5173)
pnpm dev
# Build for production
pnpm build
# Preview production build
pnpm previewThis site exposes content in formats designed for AI consumption:
/llms.txt— structured TOC of live Markdown pages./<page>.md— raw Markdown source for each public page, for example/welcome.md.
content/
├── index.md # Local fallback; production redirects / -> /welcome/
├── public/ # Static assets copied by VitePress
└── welcome/
└── index.md # First-run setup path
Docs are intentionally simple. Content matters more than visual treatment. Keep public docs plain enough that the Markdown source remains useful on its own.
The site wears the Raft Design System:
the same frame, sidebar, type and colours as the design system's own site.
.vitepress/theme/raft-design.css maps raft-ui's tokens onto VitePress; the
tokens and font stack themselves are copies from a published
@botiverse/raft-ui, refreshed with node scripts/sync-raft-ui.mjs [version].
Change a colour or font in raft-design, not here. The shared docs-kit theme
underneath keeps its own look for the other sites that use it.
This is the public-source docs repo for Raft.