-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to add individual story description, see #8527 #10823 #15417
Document how to add individual story description, see #8527 #10823 #15417
Conversation
Nx Cloud ReportCI ran the following commands for commit e1a4b2c. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch
Sent with 💌 from NxCloud. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually the deprecated way of doing it. The recommended way is here:
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#docs-description-parameter
Oh, I did not find that method either, I just updated my example, or is it documented elsewhere? |
@vidhill yes, documented here https://storybook.js.org/docs/react/writing-docs/doc-blocks#description |
Shall I close/cancel this PR so? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Merging this altho it overlaps with the official docs
Issue:
What I did
Update docs to show how to add individual story description in
CSF
see #8527 #10823- I spent a silly amount of time trying to find this piece of info, I want to save the next person the trouble
How to test