From ca470ab7572cd8d0ff82c6b49e4c6a1bf238c95f Mon Sep 17 00:00:00 2001 From: mfahampshire Date: Mon, 30 Sep 2024 12:13:03 +0200 Subject: [PATCH] sidebar autocollapse --- documentation/docs/theme.config.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/documentation/docs/theme.config.tsx b/documentation/docs/theme.config.tsx index 41295389af..b871caf7d2 100644 --- a/documentation/docs/theme.config.tsx +++ b/documentation/docs/theme.config.tsx @@ -23,6 +23,10 @@ const config: DocsThemeConfig = { dark: 30, light: 30, }, + sidebar: { + defaultMenuCollapseLevel: 1, + autoCollapse: true, + }, }; export default config;