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

View File

@@ -33,6 +33,8 @@ const SidebarProvider = ({ children }: SidebarProviderProps) => {
scrollableElement={scrollableElement}
initialItems={config.sidebar}
resetOnCondition={resetOnCondition}
persistState={false}
projectName="api"
>
{children}
</UiSidebarProvider>