We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea189d9 commit 9764129Copy full SHA for 9764129
doc-kit.config.mjs
@@ -11,7 +11,7 @@ export default {
11
// Important Configuration
12
project: 'Node.js',
13
title: '{project} Learn',
14
- baseURL: 'https://nodejs.org/learn',
+ baseURL: `https://${process.env.VERCEL_BRANCH_URL ?? 'nodejs.org'}/learn`,
15
pageURL: '{baseURL}{path}.html',
16
editURL: 'https://github.com/nodejs/learn/edit/main/pages{path}.md',
17
useAbsoluteURLs: true,
0 commit comments