We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec7b70 commit 8cc7dcfCopy full SHA for 8cc7dcf
web/scripts/build.mjs
@@ -177,8 +177,11 @@ async function build() {
177
echo(chalk.green(`File created: ${htmlFilePath}`));
178
}
179
180
+ versionsMenu = await buildVersionMenu(uniqueVersions, defaultVersion);
181
sandbox = sandbox.replace('{base}', `${base}`);
182
sandbox = sandbox.replaceAll('{docs-version}', '');
183
+ sandbox = sandbox.replace('{versions-menu}', `${versionsMenu}`);
184
+ sandbox = sandbox.replaceAll('{current-version}', version);
185
if (branch) {
186
sandbox = sandbox.replaceAll('{default-version}', '.');
187
} else {
0 commit comments