mirror of
https://github.com/halo-dev/docs.git
synced 2026-01-13 06:03:55 +08:00
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:
@@ -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;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user