Vercel
Deploy a Heyo Docs project to Vercel with the framework setup generated by create-heyo-docs.
Loading documentation…
Choose Vercel while creating a Heyo Docs project to get the correct framework adapter and production deploy script. Documentation pages and generated files are built with the site; Vercel runs server routes only for features that need them, such as Try it or AI Chat.
Vercel is currently available in the creator for Next.js and Astro:
Replace next with astro for Astro's Vercel adapter. React Router 8 is not
currently supported by the Vercel deployment target in create-heyo-docs; use
Cloudflare or select Configure later for that framework.
Set siteUrl to the final public HTTPS address before creating a production
build. Heyo Docs uses it for canonical metadata, the sitemap, RSS, and
AI-discovery files.
Keep the canonical production URL in the configuration. Vercel preview URLs
are useful for review, but they should not replace siteUrl in source control.
Authenticate with Vercel, then run the project-local deployment script. On the first deployment, Vercel prompts you to link or create the project and runs the framework build automatically.
bun run deploy runs vercel --prod. The generated project already contains
the framework configuration Vercel needs, so do not replace it with a static
export when the site uses server routes.
A documentation-only site does not need runtime variables. If AI Chat or an application route needs a secret, add it to the matching Vercel environment instead of committing it to the repository or exposing it in client-side configuration. Redeploy after changing a variable used during the build or at runtime.