mirror of
https://github.com/halo-dev/docs.git
synced 2025-10-19 17:04:09 +00:00
docs: docs: update documentation for Halo 2.5 (#212)
为 Halo 2.5 更新文档。 /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.4",
|
||||
lastVersion: "2.5",
|
||||
versions: {
|
||||
current: {
|
||||
label: "2.5.0-SNAPSHOT",
|
||||
path: "2.5.0-SNAPSHOT",
|
||||
label: "2.6.0-SNAPSHOT",
|
||||
path: "2.6.0-SNAPSHOT",
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -272,13 +272,14 @@ const config = {
|
||||
if (existingPath.startsWith("/1.4/")) {
|
||||
return [existingPath.replace("/1.4/", "/1.4.17/")];
|
||||
}
|
||||
if (existingPath.startsWith("/2.5.0-SNAPSHOT/")) {
|
||||
if (existingPath.startsWith("/2.6.0-SNAPSHOT/")) {
|
||||
return [
|
||||
existingPath.replace("/2.5.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.5.0-SNAPSHOT/", "/2.1.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.5.0-SNAPSHOT/", "/2.2.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.5.0-SNAPSHOT/", "/2.3.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.5.0-SNAPSHOT/", "/2.4.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.6.0-SNAPSHOT/", "/2.0.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.6.0-SNAPSHOT/", "/2.1.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.6.0-SNAPSHOT/", "/2.2.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.6.0-SNAPSHOT/", "/2.3.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.6.0-SNAPSHOT/", "/2.4.0-SNAPSHOT/"),
|
||||
existingPath.replace("/2.6.0-SNAPSHOT/", "/2.5.0-SNAPSHOT/"),
|
||||
];
|
||||
}
|
||||
return undefined;
|
||||
|
Reference in New Issue
Block a user