mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-19 08:43:55 +00:00
docs: update documentation for Halo 2.15 (#345)
为 Halo 2.15.0 更新文档。 /kind documentation ```release-note None ```
This commit is contained in:
@@ -27,11 +27,11 @@ const config = {
|
||||
routeBasePath: "/",
|
||||
showLastUpdateTime: true,
|
||||
showLastUpdateAuthor: true,
|
||||
lastVersion: "2.14",
|
||||
lastVersion: "2.15",
|
||||
versions: {
|
||||
current: {
|
||||
label: "2.15.0-SNAPSHOT",
|
||||
path: "2.15.0-SNAPSHOT",
|
||||
label: "2.16.0-SNAPSHOT",
|
||||
path: "2.16.0-SNAPSHOT",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -235,23 +235,24 @@ const config = {
|
||||
},
|
||||
],
|
||||
createRedirects(existingPath) {
|
||||
if (existingPath.startsWith("/2.15.0-SNAPSHOT/")) {
|
||||
if (existingPath.startsWith("/2.16.0-SNAPSHOT/")) {
|
||||
return [
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.1.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.2.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.3.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.4.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.5.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.6.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.7.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.8.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.9.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.10.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.11.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.12.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.13.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.15.0-SNAPSHOT/", "/2.14.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.1.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.2.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.3.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.4.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.5.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.6.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.7.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.8.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.9.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.10.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.11.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.12.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.13.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.14.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.16.0-SNAPSHOT/", "/2.15.0-SNAPSHOT/"),
|
||||
];
|
||||
}
|
||||
return undefined;
|
||||
|
Reference in New Issue
Block a user