docs(web): expose introduction features in Markdown
Merged
MA
2mo ago+118+118+012345678901234567890123456789-69-69-01234567890123456789
Summary
- Move the nine introduction feature titles and descriptions into MDX card content.
- Keep the existing card layout and icons, with icons selected from the feature title.
- Strip layout components from the processed Markdown response so the feature copy appears as plain Markdown.
Validation
pnpm --filter web buildoxlintandoxfmtcommit hooks- Checked generated introduction HTML for nine cards and generated Markdown for all nine title-description pairs without component tags.
Summary by cubic
Moves the introduction page's nine feature cards from a hardcoded React array into the MDX content, so the feature copy is exposed in the generated Markdown alongside the rest of the doc.
- Feature titles and descriptions are now authored as
FeatureCardchildren inintroduction.mdx. - Icons are matched from the feature title, with card layout unchanged; unknown titles or empty descriptions now fail at render.
- The Markdown postprocess strips the
FeaturesandFeatureCardwrappers so only the copy ships in the processed Markdown.
Summary by CodeRabbit
- New Features
- The Introduction page now presents nine feature cards covering building products in code, webhook handling, usage-based billing, Stripe integration, plugins, local billing state, the CLI, the client SDK, and type safety.
- Feature cards display content provided directly in the documentation, with icons selected to match recognized titles. Each card presents a title and description, keeping feature details clear and easy to scan.