Repository navigation
v2.2.2 - Implement "Ask AI" in docs, link component props and source code
Released - 20 September, 2026
✨ Enhancements
- Added Ask AI: a RAG-powered chat assistant on the docs site. Answers are grounded in the component library's own docs — props tables, usage guides, JSDocs — embedded with OpenAI and retrieved from a Pinecone vector index, with lexical rescue for exact component/prop-name matches and per-IP rate limiting on the answer endpoint.
📖 Docs
- Each prop in a component's API table is now individually linkable (
#prop-<name>) — hover a row to reveal a permalink, shareable and stable across doc versions. - Added a Source Code section to every component's doc page, linking straight to its implementation on GitHub — pinned to the exact tag/branch that page's content was built from.
- Fixed inline
<code>spans (e.g.useState) not getting the docs site's code styling in a few places outside the main article content — now applied via a single global rule instead of a per-page class, so it can't be missed again. - Algolia search results refinement in
DocSearchcomponent usingtransformItems: dropped duplicate rows for the same page (a page's base hit and its own anchor hit were showing up as two separate results) and stripped the redundant| MUI Componentssuffix from every result title. - Added an
algolia-reindexGitHub Action that triggers the Algolia Crawler on every push tomain, so the search index picks up new/changed docs without waiting for its monthly schedule.