feat: add configurations for TOC component

This commit is contained in:
saicaca committed 2024-10-28 00:45:16 +08:00
1 parent 9f251d4cea
commit 1b652f686d
4 files changed
+41 -16

No files matched your search

+4
View File
@@ -20,6 +20,10 @@ export type SiteConfig = {
url?: string
}
}
toc: {
enable: boolean
depth: 1 | 2 | 3
}
favicon: Favicon[]
}