From 5616b9b11a16e4dbff3d22363d6541c3f3224fad Mon Sep 17 00:00:00 2001 From: hienphan Date: Thu, 26 Dec 2024 21:10:20 +0700 Subject: [PATCH] theme config --- theme.config.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/theme.config.tsx b/theme.config.tsx index e844a9b..7c2892f 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -9,6 +9,12 @@ const config: DocsThemeConfig = { chat: { link: 'https://discord.gg/aquamovedao', }, + sidebar: { + defaultMenuCollapseLevel: 0, + + toggleButton: true, // Hiển thị nút đóng/mở sidebar + autoCollapse: true, // Tự động đóng các section khác khi mở một section + }, docsRepositoryBase: 'https://github.com/vbi-academy/sui-bootcamp-2024', footer: { text: 'Sui Bootcamp 2024',