Skip to content

Commit 6c3d779

Browse files
authored
Auto collapse side bar entries when selecting other sections (#2257)
1 parent 1674c3c commit 6c3d779

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

website/docusaurus.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ module.exports = {
3333
format: 'detect', // Support for MD files with .md extension
3434
},
3535
themeConfig: {
36+
docs: {
37+
sidebar: {
38+
autoCollapseCategories: true,
39+
},
40+
},
3641
navbar: {
3742
title: "AutoGen",
3843
logo: {

0 commit comments

Comments
 (0)