docs: update documentation for Halo 2.2 (#174)

为 Halo 2.2 更新文档。

/kind documentation

```release-note
None
```
This commit is contained in:
Ryan Wang
2023-02-01 12:14:09 +08:00
committed by GitHub
parent 96ca3e2c50
commit 55e5f60aee
85 changed files with 7033 additions and 59 deletions

View File

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