You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Storybook v6.4 displays empty code blocks even for disabled docs ( docs: { disable: true, }). That was not a case in v6.3 and earlier versions.
To Reproduce
The issue is reproduced in this repo.
Here is a code snippet:
Hi @shilman,
Thanks for fixing that issue.
I don't see any other stories like on my first screenshot, however the story itself still creates an empty block even if it has docs: { disable: true, }:
Is there any way to get rid of that?
Describe the bug
Storybook v6.4 displays empty code blocks even for disabled docs (
docs: { disable: true, }
). That was not a case in v6.3 and earlier versions.To Reproduce
The issue is reproduced in this repo.
Here is a code snippet:
Steps:
npm i
,npm run storybook
System
OS: Windows 10 10.0.19044
CPU: (8) x64 Intel(R) Core(TM) i7-4940MX CPU @ 3.10GHz
Binaries:
Node: 14.18.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 96.0.4664.45
Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.43)
npmPackages:
@storybook/addon-a11y: 6.4.7 => 6.4.7
@storybook/addon-actions: 6.4.7 => 6.4.7
@storybook/addon-docs: 6.4.7 => 6.4.7
@storybook/addon-essentials: 6.4.7 => 6.4.7
@storybook/addon-knobs: 6.3.1 => 6.3.1
@storybook/addon-links: 6.4.7 => 6.4.7
@storybook/addon-viewport: 6.4.7 => 6.4.7
@storybook/addons: 6.4.7 => 6.4.7
@storybook/angular: 6.4.7 => 6.4.7
@storybook/source-loader: 6.4.7 => 6.4.7
The text was updated successfully, but these errors were encountered: