(categories)
| 215 | } |
| 216 | |
| 217 | function generateMarkdown(categories) { |
| 218 | const categorySections = CATEGORY_ORDER.filter(cat => categories[cat]).map(cat => |
| 219 | buildComponentSection(cat, categories[cat]) |
| 220 | ); |
| 221 | |
| 222 | return [ |
| 223 | buildHeader(), |
| 224 | buildDocs(), |
| 225 | buildCli(), |
| 226 | ...categorySections, |
| 227 | buildVariants(), |
| 228 | buildKeyDependencies(), |
| 229 | buildMcp(), |
| 230 | buildDev() |
| 231 | ].join('\n'); |
| 232 | } |
| 233 | |
| 234 | function main() { |
| 235 | const categories = collectComponents(componentMetadata); |
no test coverage detected