Closed j3rem1e closed 7 months ago
This is pretty cool, I like the solution! ❤️
Now we just need to support JSDoc comments above the meta definition for component-level descriptions.
https://storybook.js.org/docs/react/api/doc-block-description#writing-descriptions
It should be easy to do. But it won't work with typescript or a preprocessor.
They are working on native typescript parsing. it will help with this kind of issue, or with doc generation I think.
This PR allows to inject comments as Story description, as suggested by #148 :
the description is injected into 'parameters.docs.description.story'