Static documentation, ready by default
An MDX directory is all you need.
Doctrine adds navigation, search, localization, light and dark themes, and static output—ready to preview locally and deploy anywhere.
One source, one continuous path
- Write MDX
- Preview every route
- Publish static files
Install Doctrine with your package manager
pnpm add @amamo/doctrinenpm install @amamo/doctrineyarn add @amamo/doctrinebun add @amamo/doctrineReady on first run
Start the development server and get navigation, search, themes, and responsive layout without assembling a stack.
Static by design
Every route is prerendered and indexed. The deployed site is ordinary static files with no Node.js server.
Deploy without surprises
Repository subpaths, localized routes, assets, search results, and 404 pages stay correct on GitHub Pages.
Small source, complete site
Write docs. Let the site assemble itself.
Keep content close to its navigation metadata. Doctrine turns the directory into routes and validates the whole tree before publishing.
- Localized content and navigation
- Pagefind search
- Persistent light and dark themes
- Custom React and MDX components
- Subpath-safe static deployment