mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
docs(component-index): sort ToC components in COMPONENT_INDEX.md
This commit is contained in:
parent
249f158f8a
commit
27726be070
2 changed files with 24 additions and 24 deletions
|
@ -20,7 +20,7 @@ export function generateIndex(components, groups, pkg) {
|
|||
groups.forEach((group, component_group) => {
|
||||
if (group.length > 1) {
|
||||
code += `- ${component_group}\n`;
|
||||
group.forEach((component) => {
|
||||
group.sort().forEach((component) => {
|
||||
code += ` - ${toMdLink(component)}\n`;
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue