From d091d00545196229358b3bbf8e47112f0bfb8f4e Mon Sep 17 00:00:00 2001 From: LazyYuuki Date: Mon, 13 Oct 2025 15:35:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20config:=20sidebar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/theme.config.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/theme.config.tsx b/docs/theme.config.tsx index ede62778e..a7954cdf6 100644 --- a/docs/theme.config.tsx +++ b/docs/theme.config.tsx @@ -54,6 +54,10 @@ const config: DocsThemeConfig = { navbar: { component: , }, + sidebar: { + defaultMenuCollapseLevel: 1, + autoCollapse: true + }, darkMode: false, toc: { backToTop: true,