diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 3fc0bf9..f73ab87 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -12,7 +12,7 @@ module.exports = { nav: [ {text: "首页", link: "/"}, - {text: "指南", link: "/guide/"}, + {text: "指南", link: "/wiki/"}, // { // text: "选择语言", // items: [ @@ -32,14 +32,14 @@ module.exports = { sidebar: [ { title: '文档', - collapsable: false, + collapsable: true, children: [ '/wiki/', { title: '介绍', collapsable: true, children: [ - '/second/introduce/' + '/wiki/introduce/' ] } ] // 根据自己的需求来订,对应自己在docs下的文件夹名,默认首页是README.md diff --git a/docs/README.md b/docs/README.md index 16ecc0d..687a0d5 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,7 +2,7 @@ home: true heroImage: /logo.png actionText: 快速上手 → -actionLink: /guide/ +actionLink: /wiki/ features: - title: 简洁至上 details: 以 Markdown 为中心的项目结构,以最少的配置帮助你专注于写作。