Skip to main content

Vercel Integration

Deploy your InitRepo-generated documentation to Vercel for fast, reliable hosting with global CDN.

Features

  • One-Click Deployment: Deploy documentation directly from InitRepo
  • Automatic Updates: Sync documentation changes automatically
  • Custom Domains: Use your own domain for documentation
  • Analytics: Built-in Vercel Analytics for documentation insights

Setup

1

Connect Vercel Account

  1. Visit your InitRepo dashboard
  2. Navigate to Integrations → Vercel
  3. Click “Connect Vercel”
  4. Authorize InitRepo to deploy to your Vercel account
2

Create Deployment

Choose your deployment configuration:
  • Project Name: Custom subdomain or bring your own domain
  • Build Settings: Automatic or custom build commands
  • Environment Variables: Configure API keys and settings
3

Configure Domain

Set up your documentation domain:
  • Use Vercel’s default subdomain
  • Connect your custom domain
  • Configure SSL certificates automatically

Deployment Configuration

vercel.json

Environment Variables

Set these in your Vercel dashboard:

Automatic Deployment

Enable automatic deployment when documentation is updated:

Custom Domain Setup

1

Add Domain

  1. Go to your Vercel project settings
  2. Navigate to Domains
  3. Add your custom domain (e.g., docs.company.com)
2

Configure DNS

Update your DNS records:
  • Type: CNAME
  • Name: docs
  • Value: cname.vercel-dns.com
3

SSL Certificate

Vercel automatically provisions SSL certificates for your domain