docs: refresh reference section with category badges and dynamic index pages#69
Merged
Conversation
Replace hardcoded index.mdx files with dynamic generation in transform-content.ts. Index pages are now built from the same DefinitionEntry metadata collected during processDirectory, using Starlight CardGrid/LinkCard components. - Add generateIndexPage() with type-aware grouping (agents by category, commands by workflows/utilities, skills flat) - Remove unused definitionType param from transformFrontmatter - Add helper functions: cleanDescription, escapeAttr, firstSentence, renderLinkCard, renderCardGrid - Simplify .gitignore to ignore entire reference/ directory - Remove index.mdx skip guard from clean step - Update docs/AGENTS.md to reflect generated index pages
Owner
Author
|
@fro-bot if the review is good then approve |
Owner
Author
|
@fro-bot approve the pr if everything looks good |
fro-bot
approved these changes
Feb 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
index.mdx) are now dynamically generated bytransform-content.tsfrom the same enumeratedDefinitionEntrymetadata used for individual pages, using StarlightCardGrid/LinkCardcomponents. Agents grouped by category, commands split into Workflows/Utilities, skills as a flat grid.Changes
docs/scripts/transform-content.tsgenerateIndexPage(),DefinitionEntryinterface, helper functions,processDirectoryreturns entries, removes unused params.gitignorereference/directory (index pages are now generated)docs/AGENTS.mddocs/src/styles/custom.css.definition-headerand.definition-categorystylesdocs/src/content/docs/reference/*/index.mdxVerification
bun run typecheck— passesbun run lint— passesbun run docs:build— 55 pages, zero errorsagent-browser: CardGrid layouts render correctly, sidebar badges show categoriesNote
This branch has 12 commits including intermediate steps. Consider squash merge.