docs: update documentation for Halo 2.7 (#234)

为 Halo 2.7.0 更新文档。

/kind documentation

```release-note
None 
```
This commit is contained in:
Ryan Wang
2023-06-30 13:08:11 +08:00
committed by GitHub
parent 801291838f
commit 18bab50498
111 changed files with 9725 additions and 78 deletions

View File

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