docs: update documentation for Halo 2.4 (#203)

为 Halo 2.4 更新文档。

/kind documentation

```release-note
None
```
This commit is contained in:
Ryan Wang
2023-03-31 11:54:14 +08:00
committed by GitHub
parent 96feaf5631
commit 4edbf7e639
108 changed files with 9156 additions and 63 deletions

View File

@@ -34,11 +34,11 @@ const config = {
showLastUpdateAuthor: true,
remarkPlugins: [math, mermaid],
rehypePlugins: [katex],
lastVersion: "2.3",
lastVersion: "2.4",
versions: {
current: {
label: "2.4.0-SNAPSHOT",
path: "2.4.0-SNAPSHOT",
label: "2.5.0-SNAPSHOT",
path: "2.5.0-SNAPSHOT",
},
},
},
@@ -272,12 +272,13 @@ const config = {
if (existingPath.startsWith("/1.4/")) {
return [existingPath.replace("/1.4/", "/1.4.17/")];
}
if (existingPath.startsWith("/2.4.0-SNAPSHOT/")) {
if (existingPath.startsWith("/2.5.0-SNAPSHOT/")) {
return [
existingPath.replace("/2.4.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
existingPath.replace("/2.4.0-SNAPSHOT/", "/2.1.0-SNAPSHOT/"),
existingPath.replace("/2.4.0-SNAPSHOT/", "/2.2.0-SNAPSHOT/"),
existingPath.replace("/2.4.0-SNAPSHOT/", "/2.3.0-SNAPSHOT/"),
existingPath.replace("/2.5.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
existingPath.replace("/2.5.0-SNAPSHOT/", "/2.1.0-SNAPSHOT/"),
existingPath.replace("/2.5.0-SNAPSHOT/", "/2.2.0-SNAPSHOT/"),
existingPath.replace("/2.5.0-SNAPSHOT/", "/2.3.0-SNAPSHOT/"),
existingPath.replace("/2.5.0-SNAPSHOT/", "/2.4.0-SNAPSHOT/"),
];
}
return undefined;