A headless docs framework with a namespaced registry for UI components and plugins. Install source, not packages.
Teams publish UI components and plugins under their namespace. Install source code directly into your project.
Your content lives as MDX files in your repo. document0 turns them into page trees, navigation, search indexes, and highlighted code, ready for whatever UI you build.
import { DocsSource } from "@document0/core"
import { processMdx } from "@document0/mdx"
const source = new DocsSource({
rootDir: "./content/docs",
})
const page = source.getPage("quickstart")
const { code, toc } = await processMdx(page.raw)No CSS shipped. No layout opinions. You bring the UI. We power everything behind it.
Orama-powered search built in. Index at build time, query instantly at runtime.
VS Code-quality syntax highlighting at build time. Multi-theme, zero client JS.
Auto-generated llms.txt so AI assistants can understand your documentation natively.
Works with Next.js, Astro, Remix, or anything that can import a function.