Open MichaelArestad opened 1 year ago
Looks like this is live now https://storybook.js.org/docs/react/api/doc-block-description#writing-descriptions
However, when writing the description via the JSDoc comments above the component, no description is rendered in the autodocs.
storybook v7.0.4
@storybook/react v7.0.4
@MichaelArestad — Is the documentation linked above sufficient? Or do you think this needs to be in a guide somewhere as well?
@kylegach I am unsure I would expect to find it in the DocBlocks section. I would definitely expect to find it in the "Writing docs" guide.
This still seems to be missing.
However, when writing the description via the JSDoc comments above the component, no description is rendered in the autodocs.
I don't believe these are covered. If they are, then I couldn't find them in the docs.
- Show how to add descriptions to a component
- Show how to add descriptions to props/interface
Describe the problem
I was testing out autodocs (worked like a charm), but wanted to add more details. I vaguely remembered I could write some comments somewhere, but didn't see anything about it in 7.0 docs. I did end up looking at some example components and stories and worked out what I needed.
I would like to see three additions to the docs so other folks don't struggle with this:
Thank you!
Additional context
No response