Deployment
Learn how to deploy your documentation site to the web.
Deployment
Deploying your site is easy with modern platforms like Vercel or Netlify.
Vercel (Recommended)
- Connect your GitHub repository to Vercel.
- Vercel will automatically detect Next.js settings.
- Click Deploy.
Manual Build
If you want to build the site manually:
pnpm buildThis will generate a .next folder with your production-ready application.
Static Export
To export the site as static HTML (useful for GitHub Pages):
Update your next.config.mjs:
const nextConfig = {
output: 'export',
}Then run:
pnpm buildThe output will be in the out/ directory.
On This Page