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)

  1. Connect your GitHub repository to Vercel.
  2. Vercel will automatically detect Next.js settings.
  3. Click Deploy.

Manual Build

If you want to build the site manually:

pnpm build

This 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 build

The output will be in the out/ directory.