mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-19 17:04:09 +00:00
docs: update documentation for Halo 2.1 (#162)
为 Halo 2.1 更新文档。 see https://github.com/halo-dev/halo/releases/tag/v2.1.0 /kind documentation ```release-note None ```
This commit is contained in:
@@ -34,11 +34,11 @@ const config = {
|
||||
showLastUpdateAuthor: true,
|
||||
remarkPlugins: [math, mermaid],
|
||||
rehypePlugins: [katex],
|
||||
lastVersion: "2.0",
|
||||
lastVersion: "2.1",
|
||||
versions: {
|
||||
current: {
|
||||
label: "2.1.0-SNAPSHOT",
|
||||
path: "2.1.0-SNAPSHOT",
|
||||
label: "2.2.0-SNAPSHOT",
|
||||
path: "2.2.0-SNAPSHOT",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -272,9 +272,10 @@ const config = {
|
||||
if (existingPath.startsWith("/1.4/")) {
|
||||
return [existingPath.replace("/1.4/", "/1.4.17/")];
|
||||
}
|
||||
if (existingPath.startsWith("/2.1.0-SNAPSHOT/")) {
|
||||
if (existingPath.startsWith("/2.2.0-SNAPSHOT/")) {
|
||||
return [
|
||||
existingPath.replace("/2.1.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.2.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.2.0-SNAPSHOT/", "/2.1.0-SNAPSHOT/"),
|
||||
];
|
||||
}
|
||||
return undefined;
|
||||
|
Reference in New Issue
Block a user