#disable autodoc for specific story?
1 messages · Page 1 of 1 (latest)
can you share your .storybook/main.js
module.exports = {
stories: ['../app/**/*.mdx', '../app/**/*.stories.@(ts|tsx)'],
addons: ['@storybook/addon-links', '@storybook/addon-interactions', {
name: '@storybook/addon-essentials',
options: {
backgrounds: false,
viewport: false
}
}],
framework: {
name: '@storybook/react-vite',
options: {}
},
core: {},
features: {
storyStoreV7: true
},
docs: {
autodocs: true
}
}
the autodocs config was changed a few times by the auto migration steps
I've actually just replaced the docs I don't want with custom mdx files. I honestly should clarify stuff and explain why there's no docs page for that kind of stuff anyway, so that "solves" this issue for me
You could also modify your main.js to
docs: {
autodocs; 'tag'
}
And that would only generate docs for components tagged with 'autodocs'