Quickstart
Build a docs site in 5 minutes
Build a documentation site from scratch.
Create your first page
Create docs/index.mdx:
Add more pages
Create docs/getting-started.mdx:
Your project structure:
index.mdx
getting-started.mdx
Customize the sidebar
Pages are sorted by the order field in frontmatter:
Lower numbers appear first. Organize with folders:
index.mdx
index.mdx
setup.mdx
index.mdx
endpoints.mdx
Folders become collapsible sections in the sidebar.
Add components
Use built-in components in your MDX files:
Callouts
Code blocks
Cards
Deploy
Build for production:
Deploy to any hosting platform:
- Vercel
- Netlify
- Cloudflare Pages