React component library documentation with Gatsby and MDX
summary
Streamlines a React component library docs pipeline by switching to Gatsby + MDX, collapsing two repos into one and reduced CLI steps from 8 to 3 while keeping components colocated with their docs. MDX renders live components, generates semantic HTML and header anchor links for better accessibility, and supports editable React Live code blocks and custom Prism-highlighted code blocks. Examples show all variants by default instead of forcing a select menu, and a props-table component pulls live metadata into each doc page.
AI-written summary · about
