Skip to content
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

[Bug]: Unable to hide Storybook decorator wrapper in Compodoc #23659

Closed
ptu14 opened this issue Jul 31, 2023 · 0 comments · Fixed by #29069
Closed

[Bug]: Unable to hide Storybook decorator wrapper in Compodoc #23659

ptu14 opened this issue Jul 31, 2023 · 0 comments · Fixed by #29069

Comments

@ptu14
Copy link

ptu14 commented Jul 31, 2023

Describe the bug

While working on my project, I am using Storybook along with Compodoc to document my components. I wanted to add a decorator wrapper to my components in Storybook using the following code:

decorators: [componentWrapperDecorator((story) => `<div style="display: flex; gap: 8px">${story}</div>`)],

Unfortunately, after adding this decorator, when I generate the documentation using Compodoc, I noticed that the wrapper is also included in the generated code.

To Reproduce

No response

System

System:
    OS: macOS 13.4
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node
    npm: 8.5.0 - ~/.nvm/versions/node/v16.14.2/bin/npm
  Browsers:
    Chrome: 115.0.5790.114
    Safari: 16.5

"@angular/core": "16.1.3",
"@compodoc/compodoc": "^1.1.21",
"@nx/storybook": "16.4.2",
"storybook": "^7.0.26",

Additional context

#12022

@ptu14 ptu14 changed the title [Bug]: [Bug]: Unable to hide Storybook decorator wrapper in Compodoc Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants