Skip to content

Commit

Permalink
Fix docs sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUltDev committed Jun 8, 2024
1 parent 6686394 commit 7c3d962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions toolkit/config/scripts/gen-docs-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const sidebar = [
items: componentsGroups.map(g => ({
text: titleCase(g),
items: readdirSync(`${COMPONENTS}/${g}`).filter(excludeFiles).map(s => ({
text: titleCase(s),
items: readdirSync(`${COMPONENTS}/${g}/${s}`).filter(excludeFiles).map(f => ({
link: `/components/${g}/${s}/${f}`,
text: getTitle(f, `${COMPONENTS}/${g}/${s}/${f}/${titleCase(f, true)}.docs.mdx`),
Expand Down

0 comments on commit 7c3d962

Please sign in to comment.