refactor(theme-classic): move all sidebar-related config under themeConfig.docs.sidebar (#7277)

This commit is contained in:
Joshua Chen 2022-05-04 18:08:19 +08:00 committed by GitHub
parent 881430078e
commit 785fed723f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 79 additions and 31 deletions

View file

@ -357,8 +357,12 @@ const config = {
liveCodeBlock: {
playgroundPosition: 'bottom',
},
hideableSidebar: true,
autoCollapseSidebarCategories: true,
docs: {
sidebar: {
hideable: true,
autoCollapseCategories: true,
},
},
colorMode: {
defaultMode: 'light',
disableSwitch: false,