Skip to content

[Documentation]: JSDocs Props comments are not shown in canvas in Mono repository #25672

Open

Description

Describe the problem

Having an angular mono repository like this

root: Containing storybook in node-modules folder
|-> projects/my-library: Containing library code with the js doc component
|-> projects/my-storybook: Containing storybook stories

The Description and Default values are not visible in docs.

Additional context

Solution: Make sure that the .storybook/tsconfig.json includes also the library folder:

  "include": ["../projects/my-storybook/src/**/*", "./preview.ts", "../projects/my-library/src/**/*"],

We should document that somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions