Skip to content

Commit

Permalink
chore: 调整 toc 的选择器,兼容 docs 文档内容
Browse files Browse the repository at this point in the history
  • Loading branch information
xyy94813 committed Mar 31, 2024
1 parent cff20be commit ededdf2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ export const parameters = {
},
},
docs: {
toc: true,
toc: {
headingSelector: "h2:not(#stories),h3",
},
},
};

Expand Down

0 comments on commit ededdf2

Please sign in to comment.