storybook: @storybook/docs doesn't use the loaded compodoc .json file
Describe the bug After following the https://github.com/storybookjs/storybook/tree/next/addons/docs/angular instructions. Storybook fails to show the component information in the Docs tab.
It loads the json file because setCompodocJson is called and that sets the global variable

But it isn’t used when selecting the doc tab.

Am i missing something?
To Reproduce Steps to reproduce the behavior:
- open / extract files cs-shared - Copy.zip
- run
yarn install - run
yarn storybook - See error
Expected behavior That the generated compodoc information is used to show the compodoc generated props
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 6
- Comments: 23 (8 by maintainers)
@shilman thank you for your quick response. My wife went into labor with our twins the minute you responded haha. At any rate, I found the issue…I was using SBv5.3.6 which doesn’t seem to support Docs just yet. SBv5.3.5 works just as expected. Thanks again!
Steve’s repro is incomplete tho, the AppComponent stories.ts file just exports the CSF metadata and no story. The other stories are from
@storybook/angular/democomponents, and those doesn’t have properties extracted by compodoc.@sl-benjamindupuy we will need a repro with the configuration that you’re using to see if there’s a missing detail.
Congratulations!!! 🎉 (on both fronts, but more on the twins – that’s amazing!!!)