Skip to content

Commit e20dee1

Browse files
committed
docs: add v8 to version dropdown
1 parent 2820bf8 commit e20dee1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/generateSearch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ async function generateSearch(config) {
137137
let doneCount = 0;
138138
console.log('Search Content to save:', contents.length);
139139
for (const content of contents) {
140-
if (version === '8.x') {
140+
if (version === '9.x') {
141141
let url = content.url.startsWith('/') ? content.url : `/${content.url}`;
142142
if (!url.startsWith('/docs')) {
143143
url = '/docs' + url;

scripts/website.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ const versionObj = (() => {
311311
currentVersion: getCurrentVersion(),
312312
latestVersion: getLatestVersion(),
313313
pastVersions: [
314+
getLatestVersionOf(8),
314315
getLatestVersionOf(7),
315316
getLatestVersionOf(6)
316317
]

0 commit comments

Comments
 (0)