mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-01 16:00:29 +02:00
refactor(theme-classic): move all sidebar-related config under themeConfig.docs.sidebar (#7277)
This commit is contained in:
parent
881430078e
commit
785fed723f
10 changed files with 79 additions and 31 deletions
|
@ -357,8 +357,12 @@ const config = {
|
|||
liveCodeBlock: {
|
||||
playgroundPosition: 'bottom',
|
||||
},
|
||||
hideableSidebar: true,
|
||||
autoCollapseSidebarCategories: true,
|
||||
docs: {
|
||||
sidebar: {
|
||||
hideable: true,
|
||||
autoCollapseCategories: true,
|
||||
},
|
||||
},
|
||||
colorMode: {
|
||||
defaultMode: 'light',
|
||||
disableSwitch: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue