I migrated to Storybook 7 and now under each Story appeared Docs page.
I'm using custom mdx and I don't use addon-docs.
To get rid of autogenerated docs previously I could use the following config option:
docs: {
autodocs: false,
}
But now it doesn't help.
How to disable autodocs in Storybook 7?
If you want to disable autodocs completely for your entire Storybook instance, you can add the following configuration to your main.js
file:
module.exports = {
// other configuration...
features: {
// disable autodocs
storyStoreV7: false,
},
};