From ab2631257b56e13881777b9b039430ecace3f684 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=9D=E5=B0=98?= <237809796@qq.com> Date: Mon, 22 Apr 2024 11:37:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docusaurus.config.js | 40 +++++++++------------------------------- 1 file changed, 9 insertions(+), 31 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 8b0b8bd..3c3999e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -74,18 +74,10 @@ const config = { src: 'img/logo.svg', }, items: [ - { - type: 'docSidebar', - sidebarId: 'tutorialSidebar', - position: 'left', - label: '文档', - }, + {type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', label: '文档',}, + {href: 'https://zhub.dev/release/latest', label: '下载', position: 'left',}, { to: '/blog', label: 'Blog', position: 'left' }, - { - href: 'https://gitee.com/tc608/zhub', - label: 'Gitee', - position: 'right', - }, + {href: 'https://gitee.com/tc608/zhub', label: 'Gitee', position: 'right',}, ], }, @@ -95,36 +87,22 @@ const config = { { title: '文档', items: [ - { - label: '快速开始', - to: '/docs/intro', - }, + {label: '下载', href: 'https://zhub.dev/release/latest/',}, + {label: '快速开始', to: '/docs/intro',}, ], }, { title: '社区', items: [ - { - label: 'Gitee', - href: 'https://gitee.com/tc608', - }, - { - label: '微信:zhub_dev', - to: '/' - }, + {label: 'Gitee', href: 'https://gitee.com/tc608',}, + {label: '微信:zhub_dev', to: '/'}, ], }, { title: '更多', items: [ - { - label: '博客', - to: '/blog', - }, - { - label: '反馈', - href: 'https://gitee.com/tc608/zhub/issues?state=all', - }, + {label: '博客', to: '/blog',}, + {label: '反馈', href: 'https://gitee.com/tc608/zhub/issues?state=all',}, ], }, ],