Skip to content

Commit badf887

Browse files
authored
Merge pull request #13004 from continuedev/docs-custom-domain
docs: serve docs site at docs.continue.dev (custom domain)
2 parents d0a3c0b + 485293b commit badf887

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

‎docs-site/next.config.js‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
/** @type {import('next').NextConfig} */
22

3-
// When deploying to GitHub Pages the site is served from the `/continue/`
4-
// subpath (https://continuedev.github.io/continue/). GitHub Actions sets
5-
// GITHUB_ACTIONS=true, so we only apply the base path there — local dev
6-
// (localhost:3005) keeps serving from the root.
7-
const isGithubPages = process.env.GITHUB_ACTIONS === "true";
8-
const basePath = isGithubPages ? "/continue" : "";
3+
// Served at the root of the custom domain docs.continue.dev (via GitHub Pages),
4+
// so there is no base path. (public/CNAME sets the custom domain.)
5+
const basePath = "";
96

107
const nextConfig = {
118
output: "export",

‎docs-site/public/CNAME‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs.continue.dev

0 commit comments

Comments
 (0)