Documentation site for OpenModels — built with Nextra on Next.js 16.
Version: 0.7.3
- Node.js 22+
- npm
npm install
npm run devThe dev server runs at http://localhost:3040.
npm run buildProduces a static export in out/ (via Next.js output: 'export'). The postbuild step generates the sitemap with next-sitemap.
Useful scripts:
| Script | Purpose |
|---|---|
npm run dev |
Start dev server on port 3040 |
npm run build |
Static export to out/ + sitemap |
npm run start |
Serve the production build |
npm run clean |
Remove .next/ cache |
npm run lint |
Run ESLint |
git pull
npm ci
npm run buildServe the contents of out/ with Nginx.
Put TLS in front with Certbot or your preferred provisioner. For zero-downtime updates, build into a timestamped directory and swap a symlink.
All documentation lives in content/:
content/
├── _meta.json # Top-level navigation order
├── index.mdx # Landing page
├── getting-started/ # Quickstart, installation, concepts
├── architecture/ # System overview, data flow, schemas
├── api-reference/ # Models, providers, telemetry, system endpoints
├── contributing/ # Guides for adding models and providers
└── roadmap/ # Versioned roadmap pages
Each directory has a _meta.json that controls the sidebar label and order. Pages are .mdx and support frontmatter for per-page title and description.