Skip to content

Commit a98ab51

Browse files
authored
docs: refactor table of content style (#1069)
> Tiny visual upgrade to the TOC, feels cleaner than the default. ## Before: <img width="305" height="494" alt="Screenshot 2025-10-17 at 3 20 25 PM" src="https://github.com/user-attachments/assets/9b4d2392-5975-408c-8790-5ad0b86e63f5" /> ## After: <img width="305" height="488" alt="Screenshot 2025-10-17 at 3 20 32 PM" src="https://github.com/user-attachments/assets/5c142af1-45f1-4fbc-b2a6-327ecab096da" />
1 parent d3ed0cc commit a98ab51

File tree

1 file changed

+1
-1
lines changed
  • packages/marketing/app/docs/[[...slug]]

1 file changed

+1
-1
lines changed

packages/marketing/app/docs/[[...slug]]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default async function Page(props: { params: Promise<{ slug?: string[] }>
1111
const MDX = page.data.body;
1212

1313
return (
14-
<DocsPage toc={page.data.toc} full={page.data.full}>
14+
<DocsPage toc={page.data.toc} tableOfContent={{style: "clerk"}} full={page.data.full}>
1515
<DocsTitle>{page.data.title}</DocsTitle>
1616
<DocsDescription>{page.data.description}</DocsDescription>
1717
<DocsBody>

0 commit comments

Comments
 (0)