From 236bf1b8a56f6ebb3d7c90d0abd513048386a883 Mon Sep 17 00:00:00 2001 From: ZiuChen <457353192@qq.com> Date: Fri, 19 Aug 2022 21:47:17 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=B0=83=E6=95=B4=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.js | 28 ++++++++++------------------ docs/.vuepress/styles/index.styl | 5 +++++ docs/README.md | 25 ++++++++++++------------- 3 files changed, 27 insertions(+), 31 deletions(-) create mode 100644 docs/.vuepress/styles/index.styl diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index da18f7de..89eeeb7d 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -46,25 +46,16 @@ module.exports = { link: '/self/', items: [ { - text: '关于我', - link: '/self/' + text: '技术栈', + link: '/self/#技术栈' }, { - text: '更多信息', - items: [ - { - text: '技术栈', - link: '/self/#技术栈' - }, - { - text: '获得奖项', - link: '/self/#获得奖项' - }, - { - text: '相关链接', - link: '/self/#相关链接' - } - ] + text: '获得奖项', + link: '/self/#获得奖项' + }, + { + text: '相关链接', + link: '/self/#相关链接' } ] } @@ -75,6 +66,7 @@ module.exports = { editLinks: true, docsBranch: 'main', docsDir: 'docs', - lastUpdated: 'Last Updated' + lastUpdated: 'Last Updated', + smoothScroll: true } } diff --git a/docs/.vuepress/styles/index.styl b/docs/.vuepress/styles/index.styl new file mode 100644 index 00000000..d88ed7c2 --- /dev/null +++ b/docs/.vuepress/styles/index.styl @@ -0,0 +1,5 @@ +.theme-container.home-page-class { + .page-edit { + display: none; + } +} \ No newline at end of file diff --git a/docs/README.md b/docs/README.md index a6cbfd16..ca8a0641 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,14 +1,13 @@ --- -home: true -heroImage: /logo.png -heroText: ZiuChen -tagline: Unlimited Progress. -features: -- title: 开源作品 - details: Vue3+TypeScript后台管理系统, A-SOUL浏览器宠物, 北交大课程平台功能增强, uTools超级粘贴, 稀土掘金助手... -- title: 技术栈 - details: Javascript, Typescript, C/C++, Python, Vue, React, Node,js, MySQL, Git, ... -- title: 相关链接 - details: 哔哩哔哩, 稀土掘金, CSDN, Github, Gitee... -footer: ZiuChen ---- \ No newline at end of file +pageClass: home-page-class +--- + +