mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 05:09:12 +03:00
chore: add max depth to toc
This commit is contained in:
1 parent
39dc3d70bd
commit
d87b113edb
1 file changed
+1
-1
@@ -80,7 +80,7 @@ export async function getStaticProps({ params }: any) {
|
||||
slug: params.slug,
|
||||
content: mdxSource,
|
||||
...data,
|
||||
toc: toc(content),
|
||||
toc: toc(content, { maxdepth: 2 }),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user