Skip to content

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

  1. Write MDX
  2. Preview every route
  3. Publish static files

Install Doctrine with your package manager

Shell
pnpm add @amamo/doctrine
  1. Ready on first run

    Start the development server and get navigation, search, themes, and responsive layout without assembling a stack.

  2. Static by design

    Every route is prerendered and indexed. The deployed site is ordinary static files with no Node.js server.

  3. 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