docs: update documentation for Halo 2.0.1 (#132)

为 [Halo 2.0.1](https://github.com/halo-dev/halo/releases/tag/v2.0.1) 更新版本号。

/kind documentation

```release-note
None
```
This commit is contained in:
Ryan Wang
2022-12-07 18:00:54 +08:00
committed by GitHub
parent e57d33d369
commit 2ed9998d8a
12 changed files with 133 additions and 62 deletions

View File

@@ -37,8 +37,8 @@ const config = {
lastVersion: "2.0",
versions: {
current: {
label: "2.0.0-SNAPSHOT",
path: "2.0.0-SNAPSHOT",
label: "2.1.0-SNAPSHOT",
path: "2.1.0-SNAPSHOT",
},
},
},
@@ -272,6 +272,11 @@ const config = {
if (existingPath.startsWith("/1.4/")) {
return [existingPath.replace("/1.4/", "/1.4.17/")];
}
if (existingPath.startsWith("/2.1.0-SNAPSHOT/")) {
return [
existingPath.replace("/2.1.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
];
}
return undefined;
},
},