docs: update documentation for Halo 2.15 (#345)

为 Halo 2.15.0 更新文档。

/kind documentation

```release-note
None 
```
This commit is contained in:
Ryan Wang
2024-04-30 16:14:06 +08:00
committed by GitHub
parent 228d058a9d
commit 846d6c3791
165 changed files with 13757 additions and 115 deletions

View File

@@ -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;