mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Collapse docs sidebar category when expanding another category
This commit is contained in:
1 parent
da1c5ccde8
commit
f035e4d3d7
1 file changed
+6
@@ -15,6 +15,11 @@ module.exports = {
|
||||
onBrokenLinks: 'ignore',
|
||||
themes: ['docusaurus-theme-search-typesense'],
|
||||
themeConfig: {
|
||||
docs: {
|
||||
sidebar: {
|
||||
autoCollapseCategories: true,
|
||||
},
|
||||
},
|
||||
colorMode: {
|
||||
// "light" | "dark"
|
||||
defaultMode: 'dark',
|
||||
@@ -191,6 +196,7 @@ module.exports = {
|
||||
routeBasePath: '/',
|
||||
sidebarPath: require.resolve('./sidebars.js'),
|
||||
editUrl: 'https://github.com/supabase/supabase/edit/master/web',
|
||||
breadcrumbs: false,
|
||||
},
|
||||
theme: {
|
||||
customCss: require.resolve('./src/css/custom.css'),
|
||||
|
||||
Reference in new issue
Block a user