Replies: 2 comments 3 replies
-
Hi there, Not sure if you can get the Docs tab at the position it was prior SB7, still looking into that. In Storybook 7, you can turn off the Docs addon by modifying the configuration. Here's how you can do it:
|
Beta Was this translation helpful? Give feedback.
-
I landed here through search and this seems like the best place to put this -- I think storybook/addon-docs was moved into sb core? Not sure, but I no longer have a separate addon. This is what I did to get the "Docs" entry for each story removed:
I tried just editing tags in preview like people were suggesting and it didn't work for me. However, updating both spots and restarting storybook did, and now autodocs are gone. |
Beta Was this translation helpful? Give feedback.
-
Prior to version 7, the "Docs" were available as a tab at the top after opening a story from sidebar like this:
However in version 7, "Docs" were removed from the tab and are now available from the sidebar menu, which clutters the menu space. How can I override and disable this per story or globally? Can I switch back to old way (Docs as a card)?
before / after
Beta Was this translation helpful? Give feedback.
All reactions