Merge pull request #13004 from continuedev/docs-custom-domain

docs: serve docs site at docs.continue.dev (custom domain)
This commit is contained in:
Chad Metcalf 2026-07-20 20:10:35 -07:00 • committed by GitHub
commit badf887d2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View file

@ -1,11 +1,8 @@
/** @type {import('next').NextConfig} */
// When deploying to GitHub Pages the site is served from the `/continue/`
// subpath (https://continuedev.github.io/continue/). GitHub Actions sets
// GITHUB_ACTIONS=true, so we only apply the base path there — local dev
// (localhost:3005) keeps serving from the root.
const isGithubPages = process.env.GITHUB_ACTIONS === "true";
const basePath = isGithubPages ? "/continue" : "";
// Served at the root of the custom domain docs.continue.dev (via GitHub Pages),
// so there is no base path. (public/CNAME sets the custom domain.)
const basePath = "";
const nextConfig = {
output: "export",

1
docs-site/public/CNAME Normal file
View file

@ -0,0 +1 @@
docs.continue.dev