Create a project
The CLI detects your package manager and can scaffold a single-language or i18n starter. See the installation guide and project structure.
npx create-docora my-docsBuilt with TypeScript, Tailwind CSS and MDX — with routing, search, SEO, i18n and an MCP server built in, so both people and AI tools can read your docs.
---
title: Getting started
description: Scaffold a site and start writing.
---
::note
Every file under `content/` is a route.
::
Write Markdown, drop in callouts, and the
sidebar picks the page up on its own.Getting started
Getting started
Scaffold a site and start writing.
Every file under content/ is a route.
Write Markdown, drop in callouts, and the sidebar picks the page up on its own.
A Next.js theme, not a CMS. You keep the App Router, the content folder, and a single config file.
Every file under content/ becomes a route. Numeric prefixes set sidebar order and never appear in the URL.
1. orders the sidebar and never reaches the URL.
An llms.txt, raw Markdown routes, an MCP server and agent skills, so tools read your docs instead of scraping them.
MDC syntax puts callouts, cards, tabs and steps in your Markdown with no imports. JSX still works when you need it.
A command palette over every page, built at compile time. No service to run, no index to host.
Canonical links, sitemap, robots and generated Open Graph images, all from one config file.
A folder per locale. Routes, sidebar, pager, search and interface strings all follow, with hreflang emitted for you.
MCP server, zero config
list-pages and get-page tools, live at /mcp.
llms.txt out of the box
A clean, agent-readable summary of your whole site.
Ask AI, opt-in
A chat widget that answers from your docs and cites sources.
How do I highlight specific lines in a code block?
Add a line range to the fence meta — Docora passes it straight to Shiki:
```ts [config.ts] {2,5-7}Source:/raw/docs/essentials/code-blocks.md
/mcp
Zero-config MCP server
llms.txt
Agent-readable index
Scaffolding gives you an App Router project. Add pages as files; keep using anything else Next.js already does.
Your project
import { defineDocsConfig } from 'docora'
export default defineDocsConfig({
site: {
name: 'Acme',
description: 'Acme documentation',
},
})Scaffold a site, start the dev server, and start writing. Node.js 20.9 or later is required.
Create a project
The CLI detects your package manager and can scaffold a single-language or i18n starter. See the installation guide and project structure.
npx create-docora my-docsStart the dev server
Preview the site at localhost:3000 with hot reload on every file you touch.
cd my-docs
npm run dev
▲ Next.js
- Local: http://localhost:3000Add a page
Drop an .mdx file into content/ and the route and sidebar entry appear on their own.
---
title: Getting started
---
Every file under `content/` is a route.Already have a Next.js app?Wire the theme into it instead
Not every docs tool should make the same choices. These are ours, stated plainly, so you can tell in a minute whether they match your project.
Docora
Open source, MITPick a path. Each guide is a file in the repo, the same way your docs will be.
Scaffold a site, or wire the theme into an existing Next.js app.
Site name, header links, navigation, search and footer — one typed object.
CSS variables, colour mode and typography — reskin without forking the package.
Header slots, extra MDX components, or a layout you assemble yourself.
llms.txt, an MCP server and skills so tools can read the corpus.
Short answers for the things people usually ask before they scaffold.
No. Pages are Markdown files and Git is the workflow. You can still add ordinary App Router routes next to the catch-all when a page needs custom React.
Yes. Docora is a theme package. Install docora, wrap your Next config with withDocora, and point it at a content/ folder. See Installation.
The index is built when the site compiles. There is no hosted search service and nothing extra to deploy — open it from the header or with Ctrl K.
Yes. Every site exposes /llms.txt, full-corpus /llms-full.txt, raw Markdown at /raw/{path}.md, and an MCP server at /mcp.
Answers go through the Vercel AI Gateway — bring your own API key or use the free tier. The widget is opt-in, so a site that never enables it makes no model calls at all.
Docora is inspired by Docus (Nuxt) but is an independent project built for Next.js and React, with its own architecture and AI-native features like a built-in MCP server.
Everything is a file on disk. No database, no dashboard, no lock-in.