This package contains the documentation website built with Nextra.
# Install dependencies (from root)
rush install
# Start development server
cd packages/docs
npm run devVisit http://localhost:3000 to view the documentation.
# Build the documentation site
npm run build
# Start production server
npm run startThe documentation can be deployed to any static hosting service:
# Export static site
npm run export
# The output will be in the 'out' directorydocs/
├── pages/ # Documentation pages
│ ├── guide/ # User guides and tutorials
│ ├── api/ # API reference
│ └── index.mdx # Homepage
├── public/ # Static assets
├── theme.config.tsx # Nextra theme configuration
└── next.config.mjs # Next.js configuration
- Create a new
.mdxfile inpages/guide/ - Add the page to
pages/guide/_meta.json
- Create a new
.mdxfile inpages/api/ - Add the page to
pages/api/_meta.json
- ✅ Full-text search
- ✅ Sidebar navigation
- ✅ Table of contents
- ✅ Dark mode
- ✅ Mobile responsive
- ✅ Syntax highlighting
- ✅ MDX support