Open
Description
What problem does this feature solve?
https://rspress.dev/plugin/official-plugins/api-docgen#apiparsetool
-
Maintainability,
react-docgen
is the officital tooling to generate type doc of react component in Facebook, and the last-update ofreact-docgen-typescript
is 2021 -
More features, analyze nested types and generate documents of nested types, and we can use the playground for better debugging of component-document
What does the proposed API look like?
https://rspress.dev/plugin/official-plugins/api-docgen#apiparsetool
- use
apiParseTool
optionreact-docgen
to switch fromreact-docgen-typescript
toreact-docgen
- We hope to switch the default value of
apiParseTool
to react-docgen in Rspress 2.0 and generate the component document for our new member of Rstack, Rslib XD
Activity