-
-
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
Addon-docs: Docs mode shouldn't render "Canvas" & "Docs" tabs #9518
Comments
@patricklafrance Unable to repro. Can you try removing node_modules, reinstalling, maybe |
Ok thanks for the reply, i’ll do some tests and keep you posted. |
@shilman the issue occurs when I specify one of these:
Otherwise it works fine. |
I'm having this same issue. I removed node_modules, cleared localStorage, and I don't have a .cache to remove. Is there anything else I can do to get the --docs mode to work? |
Are you using the |
@patricklafrance is right, works without the |
@Zunaib changing the options doesn't make any sort of difference for me. Right now my config is only
And I'm still having the issue, after again repeating what @shilman suggested. Could it be an issue related to to using typescript w/ react? |
Can you show me you files in .storybook/ folder and the storybook version. |
This is because I deploy 2 storybook, one with Stories & one with Docs only. They both share the same config. I fix it by not setting the options when I compile my SB for docs only, but I don't see why it wouldn't works out of the box?
|
This should be looked into then by the Storybook Team. I'd try to reproduce it and get back. |
How's your file structure, is it the new one. Have you migrated yet to new files ? |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Exists a solution for this problem? |
Hi, passing by as I had the same issue, @shilman advice worked for me. I just had to clean the |
This is fixed in 7.0 https://storybook.js.org/blog/storybook-7-docs/ |
Describe the bug
In 5.2 when Storybook is compile in
--docs
mode the "Canvas" & "Docs" tabs are not rendered, which is great.In 5.3.6 it doesn't seems to be the case anymore:
To Reproduce
Steps to reproduce the behavior:
--docs
Expected behavior
"Canvas" & "Docs" tabs are not rendered.
Screenshots
If applicable, add screenshots to help explain your problem.
Code snippets
If applicable, add code samples to help explain your problem.
System:
Environment Info:
System:
OS: Windows 10 10.0.17763
CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Binaries:
Node: 12.5.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.21.1 - C:\Dev\20_gsoft\sg-orbit\node_modules.bin\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: 44.17763.831.0
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: