[Angular, NX] Incomplete documentation in the Args table (new behavior?) #28783
-
SummaryHi, We recently migrated our storybook to a monorepo. While the basic features do work, we've found out that the argument tables is now mostly empty. If I look at the code, the arguments are indeed empty but.. the code is the same as before If I put a basic arg, it will be shown in the table, but everything else is still missing. Additional informationpackage.json
main.ts
Create a reproductionNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 14 replies
-
Without more information, I am going to assume it is the config, but there isn't enough information to be sure. Some things to check:
|
Beta Was this translation helpful? Give feedback.
-
I am facing the same issue, but in a Vue project :( (#28817) |
Beta Was this translation helpful? Give feedback.
"autodocs" is not necessarily related to the ArgTable. It basically just determines if the documentation pages should automatically be generated. In the Angular framework, the argTypes are generated purely from the json file that compodoc outputs, unless the story manually defines them.
The stories files are not important in the compodoc output. The tsconfig that compodoc receives only has to be able to find your component files.
If you made a project that reproduces your problem that I could clone then I could probably find the issue fairly quickly.
To break this down to a very simple example, just to confirm that the problem is your tsconfig, if my assumption is correct. The following s…