mirror of
https://github.com/halo-dev/docs.git
synced 2026-05-16 02:00:25 +08:00
chore: set 2.0 is latest version (#127)
将 2.0 版本的文档设置为最新的文档。同时保留 /2.0.0-SNAPSHOT/ /kind documentation ```release-note None ```
This commit is contained in:
@@ -10,8 +10,8 @@ const config = {
|
||||
tagline: "Halo 博客系统的文档站点",
|
||||
url: "https://docs.halo.run",
|
||||
baseUrl: "/",
|
||||
onBrokenLinks: "throw",
|
||||
onBrokenMarkdownLinks: "throw",
|
||||
onBrokenLinks: "warn",
|
||||
onBrokenMarkdownLinks: "warn",
|
||||
favicon: "img/favicon-96x96.png",
|
||||
i18n: {
|
||||
defaultLocale: "zh-Hans",
|
||||
@@ -34,7 +34,7 @@ const config = {
|
||||
showLastUpdateAuthor: true,
|
||||
remarkPlugins: [math, mermaid],
|
||||
rehypePlugins: [katex],
|
||||
lastVersion: "1.6",
|
||||
lastVersion: "2.0",
|
||||
versions: {
|
||||
current: {
|
||||
label: "2.0.0-SNAPSHOT",
|
||||
@@ -189,7 +189,7 @@ const config = {
|
||||
{
|
||||
redirects: [
|
||||
{
|
||||
to: "/getting-started/install/linux",
|
||||
to: "/1.6/getting-started/install/linux",
|
||||
from: [
|
||||
"/zh/install",
|
||||
"/install",
|
||||
@@ -204,7 +204,7 @@ const config = {
|
||||
from: ["/zh/install/docker", "/install/docker"],
|
||||
},
|
||||
{
|
||||
to: "/getting-started/install/other/bt-panel",
|
||||
to: "/1.6/getting-started/install/other/bt-panel",
|
||||
from: ["/zh/install/bt-panel", "/install/bt-panel"],
|
||||
},
|
||||
{
|
||||
@@ -212,7 +212,7 @@ const config = {
|
||||
from: ["/zh/install/oneinstack", "/install/oneinstack"],
|
||||
},
|
||||
{
|
||||
to: "/getting-started/install/other/tencent-cloudbase",
|
||||
to: "/1.6/getting-started/install/other/tencent-cloudbase",
|
||||
from: [
|
||||
"/zh/install/tencent-cloudbase",
|
||||
"/install/tencent-cloudbase",
|
||||
@@ -227,7 +227,7 @@ const config = {
|
||||
from: ["/zh/install/config", "/install/config"],
|
||||
},
|
||||
{
|
||||
to: "/getting-started/upgrade",
|
||||
to: "/1.6/getting-started/upgrade",
|
||||
from: ["/zh/install/upgrade", "/install/upgrade"],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user