docs: update documentation for Halo 2.14 (#334)

为 Halo 2.14.0 更新文档。

/kind documentation

```release-note
None 
```
This commit is contained in:
Ryan Wang
2024-04-01 15:28:07 +08:00
committed by GitHub
parent f4fdff1317
commit 6e97f3724b
164 changed files with 13535 additions and 73 deletions

View File

@@ -27,11 +27,11 @@ const config = {
routeBasePath: "/",
showLastUpdateTime: true,
showLastUpdateAuthor: true,
lastVersion: "2.13",
lastVersion: "2.14",
versions: {
current: {
label: "2.14.0-SNAPSHOT",
path: "2.14.0-SNAPSHOT",
label: "2.15.0-SNAPSHOT",
path: "2.15.0-SNAPSHOT",
},
},
},
@@ -235,22 +235,23 @@ const config = {
},
],
createRedirects(existingPath) {
if (existingPath.startsWith("/2.14.0-SNAPSHOT/")) {
if (existingPath.startsWith("/2.15.0-SNAPSHOT/")) {
return [
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.1.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.2.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.3.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.4.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.5.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.6.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.7.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.8.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.9.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.10.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.11.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.12.0-SNAPSHOT/"),
existingPath.replace("/2.14.0-SNAPSHOT/", "/2.13.0-SNAPSHOT/"),
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/"),
];
}
return undefined;