docs: update documentation for Halo 2.8 (#238)

为 Halo 2.8.0 更新文档。

/kind documentation

```release-note
None 
```
This commit is contained in:
Ryan Wang
2023-08-01 14:40:35 +08:00
committed by GitHub
parent b25183347f
commit 72c2ef8cc7
109 changed files with 9322 additions and 67 deletions

View File

@@ -34,11 +34,11 @@ const config = {
showLastUpdateAuthor: true,
remarkPlugins: [math, mermaid],
rehypePlugins: [katex],
lastVersion: "2.7",
lastVersion: "2.8",
versions: {
current: {
label: "2.8.0-SNAPSHOT",
path: "2.8.0-SNAPSHOT",
label: "2.9.0-SNAPSHOT",
path: "2.9.0-SNAPSHOT",
},
},
},
@@ -280,16 +280,17 @@ const config = {
if (existingPath.startsWith("/1.4/")) {
return [existingPath.replace("/1.4/", "/1.4.17/")];
}
if (existingPath.startsWith("/2.8.0-SNAPSHOT/")) {
if (existingPath.startsWith("/2.9.0-SNAPSHOT/")) {
return [
existingPath.replace("/2.8.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
existingPath.replace("/2.8.0-SNAPSHOT/", "/2.1.0-SNAPSHOT/"),
existingPath.replace("/2.8.0-SNAPSHOT/", "/2.2.0-SNAPSHOT/"),
existingPath.replace("/2.8.0-SNAPSHOT/", "/2.3.0-SNAPSHOT/"),
existingPath.replace("/2.8.0-SNAPSHOT/", "/2.4.0-SNAPSHOT/"),
existingPath.replace("/2.8.0-SNAPSHOT/", "/2.5.0-SNAPSHOT/"),
existingPath.replace("/2.8.0-SNAPSHOT/", "/2.6.0-SNAPSHOT/"),
existingPath.replace("/2.8.0-SNAPSHOT/", "/2.7.0-SNAPSHOT/"),
existingPath.replace("/2.9.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
existingPath.replace("/2.9.0-SNAPSHOT/", "/2.1.0-SNAPSHOT/"),
existingPath.replace("/2.9.0-SNAPSHOT/", "/2.2.0-SNAPSHOT/"),
existingPath.replace("/2.9.0-SNAPSHOT/", "/2.3.0-SNAPSHOT/"),
existingPath.replace("/2.9.0-SNAPSHOT/", "/2.4.0-SNAPSHOT/"),
existingPath.replace("/2.9.0-SNAPSHOT/", "/2.5.0-SNAPSHOT/"),
existingPath.replace("/2.9.0-SNAPSHOT/", "/2.6.0-SNAPSHOT/"),
existingPath.replace("/2.9.0-SNAPSHOT/", "/2.7.0-SNAPSHOT/"),
existingPath.replace("/2.9.0-SNAPSHOT/", "/2.8.0-SNAPSHOT/"),
];
}
return undefined;