From b6ab23d4716d8972fbd7ffb95ae0f464a4a13ac3 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 10 Sep 2019 16:31:02 +0800 Subject: [PATCH] docs: set sidebarDepth to 1 --- docs/.vuepress/config.js | 4 ++-- docs/.vuepress/styles/index.styl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index bfc321acf..6f8cc415e 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -82,7 +82,7 @@ module.exports = { { title: '路由', collapsable: false, - sidebarDepth: 3, + sidebarDepth: 1, children: [ 'social-media', 'new-media', @@ -143,7 +143,7 @@ module.exports = { { title: 'Routes', collapsable: false, - sidebarDepth: 3, + sidebarDepth: 1, children: [ 'social-media', 'new-media', diff --git a/docs/.vuepress/styles/index.styl b/docs/.vuepress/styles/index.styl index e0df7deab..a041013ca 100644 --- a/docs/.vuepress/styles/index.styl +++ b/docs/.vuepress/styles/index.styl @@ -35,6 +35,6 @@ a { border: 1px solid #F5712C; } -.routes .sidebar-group-items > li > .sidebar-sub-headers > .sidebar-sub-header > a { +h3 { color: $accentColor; }