Skip to content

Commit 036fc45

Browse files
committed
docs: improve TOC component
1 parent 3c0c3cc commit 036fc45

3 files changed

Lines changed: 13 additions & 20 deletions

File tree

apps/docs/app/app.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ export default defineAppConfig({
5151
base: 'active:translate-y-px transition-transform duration-300',
5252
},
5353
},
54+
contentToc: {
55+
defaultVariants: {
56+
highlightVariant: 'circuit'
57+
}
58+
},
5459
contentSurround: {
5560
variants: {
5661
direction: {

apps/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@vercel/analytics": "^2.0.1",
1818
"@vercel/speed-insights": "^2.0.0",
1919
"better-sqlite3": "^12.8.0",
20-
"docus": "^5.9.0",
20+
"docus": "https://pkg.pr.new/docus@1339",
2121
"motion-v": "^2.2.0",
2222
"nuxt": "^4.4.2",
2323
"nuxt-studio": "^1.6.0",

bun.lock

Lines changed: 7 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)