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] breaks if components feature dynamic title #7932
Comments
Is it possible for the |
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! |
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! |
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! |
Yippee!! I just released https://github.com/storybookjs/storybook/releases/tag/v5.3.0-beta.14 containing PR #8995 that references this issue. Upgrade today to try it out! You can find this prerelease on the Closing this issue. Please re-open if you think there's still more to do. |
Describe the bug
Using
addon-docs
withCSF
components, that feature a dynamic title fails to load, throwing an error instead.This happens if the
title
is using a function or a tagged template string.Stacktrace
Expected behavior
Docs should be able to load files with dynamic title
Code snippets
or
System:
Additional context
This is based on the documented approach to generating path names use babel macros:
https://github.com/storybookjs/storybook/blob/next/docs/src/pages/basics/writing-stories/index.md#generating-nesting-path-based-on-__dirname
The text was updated successfully, but these errors were encountered: