Skip to main content
Documentation is Mintlify, docs-as-code: MDX files in docs/, configured by docs/docs.json, versioned alongside the application.

Preview locally

That runs the Mintlify CLI against docs/ and serves the site at http://localhost:3000 with hot reload.
The CLI is intentionally not a devDependency. Installed into this project’s node_modules, @mintlify/previewing resolves the app’s React 19 instead of its own bundled copy and crashes with Invalid hook call. The docs:* scripts therefore run it through npx --yes mint@latest, which resolves in an isolated npx cache. The first run downloads the CLI; later runs are cached.If you prefer a persistent install, npm i -g mint also works — just never npm i -D mint here.
Mintlify requires Node 20.17 or newer. Since Vite 6 already requires a modern Node, any environment that can build the app can preview the docs.
Before opening a PR:
For a stricter gate — the full build, failing on warnings as well as errors:

Structure

Adding a page

1

Create the MDX file

Put it in the folder matching its section, with frontmatter:
2

Register it in the navigation

Add the path — without the .mdx extension, relative to docs/ — to the right group in docs.json:
Mintlify resolves paths without the extension, so index.mdx is index and architecture/overview.mdx is architecture/overview. A page that is not listed in docs.json is not reachable in the sidebar.
3

Preview and check links

Components available

Mintlify ships MDX components used throughout these pages: <Card> / <CardGroup>, <Steps> / <Step>, <Accordion> / <AccordionGroup>, <Tabs> / <Tab>, and the callouts <Note>, <Tip>, <Warning>, <Info> and <Check>. Fenced code blocks accept a language and an optional title:

Keeping docs accurate

These pages state concrete defaults — scoring weights, model names, schedule times, rate limits. When you change any of the following, update the corresponding page in the same PR:

Deployment

Mintlify deploys from the repository once the GitHub app is connected to it — pushes to the default branch publish automatically, with no build step in this project’s CI. Connect the repo and point the project at the docs/ directory from the Mintlify dashboard.