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',}, ], }, ],