Replies: 1 comment 1 reply
-
I'm looking to do exactly the same thing. Did you ever get this sorted out? Any input / direction would be awesome. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi 👋. I'm trying to use Storybook to show examples of Kendo Angular components, so we can develop theme CSS for them.
Storybook Angular uses Compodoc to generate
argTypes
, metadata about the components'/directives' properties. So my thinking was "hey, great, I can point Compodoc at the Kendo components innode_modules
and then I don't have to manually enter/maintain the third-party components' properties in Storybook." Well, that doesn't seem to work. I've tried addingnode_modules/@progress/kendo-angular-buttons/dist/**/*
toincludes
intsconfig.json
, and when that didn't work I tried a bunch of other wacky stuff since I wasn't sure where the issue was.I think the issue is that Compodoc doesn't look at anything other than
.ts
and.tsx
files. (Or that Typescript doesn't. I'm kind of a noob at this stuff.) That makes sense, because the normal usage of compodoc is documenting my own code. But to me (being, again, a noob) it looks like most of the information Compodoc would need is in those.js
and/or.d.ts
files.TL;DR: Can I use Compodoc to target compiled Angular library code so it can provide metadata to Storybook?
Am I approaching this all wrong, or is this a worthy feature request? What would I even ask to be added/changed?
Beta Was this translation helpful? Give feedback.
All reactions