www: move latest docs into latest folder (#1522)
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ for (const version in toc) {
|
|||||||
// all documentation content and backport changes.
|
// all documentation content and backport changes.
|
||||||
const fileVersion = rawEntry.link ?? version;
|
const fileVersion = rawEntry.link ?? version;
|
||||||
const versionFilePath = fileVersion === LATEST_VERSION
|
const versionFilePath = fileVersion === LATEST_VERSION
|
||||||
? ""
|
? "/latest"
|
||||||
: `/${fileVersion}`;
|
: `/${fileVersion}`;
|
||||||
|
|
||||||
const href = `/docs${versionSlug}/${parent}`;
|
const href = `/docs${versionSlug}/${parent}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user