docs: collapse sidebar by default in main docs + persist state (#8608)

* docs: collapse sidebar by default in main docs + persist state

* persist sidebar hidden
This commit is contained in:
Shahed Nasser
2024-08-16 09:29:14 +03:00
committed by GitHub
parent 1bfdceb34c
commit 0cc2a62b9b
9 changed files with 101 additions and 6 deletions
@@ -20,6 +20,7 @@ const SidebarProvider = ({ children }: SidebarProviderProps) => {
initialItems={config.sidebar}
staticSidebarItems={true}
disableActiveTransition={true}
projectName="user-guide"
>
{children}
</UiSidebarProvider>