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
feat(createStoryMetaSettings): allow generating internal stories and autodocs page with metasettings helper #2079
base: master
Are you sure you want to change the base?
Conversation
…autodocs page with metasettings helper
@@ -34,9 +34,6 @@ const config: StorybookConfig = { | |||
name: "@storybook/react-webpack5", | |||
options: {} | |||
}, | |||
docs: { | |||
autodocs: false |
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.
default is not true
, default is tags
, meaning only stories which define tags: ["autodocs"]
would get autodocs page. It's good for internal components to get a "free" docs page
packages/core/src/components/BaseInput/__stories__/BaseInput.stories.tsx
Outdated
Show resolved
Hide resolved
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.
Awesome
@talkor Can't determine why it fails. |
What fails? |
will leave it for now |
@talkor storybookjs/storybook#26940 |
oh no :/ |
Note: this PR is on hold, because of a bug from Storybook's side
This PR aims to manage the tags "backstage" for internal stories
It also enables creating autodocs page, with not much info (would mainly be used for internal components)