From 485293ba49349b47f32549813a22a4d196d8f1e7 Mon Sep 17 00:00:00 2001 From: Chad Metcalf Date: Mon, 20 Jul 2026 19:12:50 -0700 Subject: [PATCH] docs: serve docs site at docs.continue.dev root (basePath "" + CNAME) Move the docs GitHub Pages deployment from the project-page subpath (continuedev.github.io/continue) to the custom domain docs.continue.dev, served at the domain root. Co-Authored-By: Claude Opus 4.8 (1M context) --- docs-site/next.config.js | 9 +++------ docs-site/public/CNAME | 1 + 2 files changed, 4 insertions(+), 6 deletions(-) create mode 100644 docs-site/public/CNAME diff --git a/docs-site/next.config.js b/docs-site/next.config.js index 6080325914d..8f0641ea978 100644 --- a/docs-site/next.config.js +++ b/docs-site/next.config.js @@ -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", diff --git a/docs-site/public/CNAME b/docs-site/public/CNAME new file mode 100644 index 00000000000..bef8da5384f --- /dev/null +++ b/docs-site/public/CNAME @@ -0,0 +1 @@ +docs.continue.dev