Skip to content

Commit

Permalink
Add ToC to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cnotv committed Nov 27, 2024
1 parent 341b1f8 commit a33e24b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion storybook/.storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ const preview: Preview = {
},
},
docs: {
theme: RancherTheme
theme: RancherTheme,
toc: true, // 👈 Enables the table of contents
},
},

Expand Down

0 comments on commit a33e24b

Please sign in to comment.