You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] description and rawdescription are not extracted when the jsdocs begins with tag for inputs / outputs #1601
When documenting Angular components with JSDoc, if a component input / output property’s JSDoc comment contains only tags (e.g., @optional, @deprecated, etc.) without any description text, Compodoc generates metadata where both rawdescription and description are undefined or empty for that property.
Angular configuration, a package.json file in the root folder
Compodoc installed globally or locally ?
locally
If possible sourcecode of the file where it breaks
/** * @optional The number of lines to display per row. This adjusts the row height. * * The minimum value is 2 lines. */
@Input()numOfLinesToDisplayPerRow=2;
If possible your terminal logs before the error
Motivation for or Use Case
Reproduce the error
Related issues
Suggest a Fix
I would expect that the entire JSDoc comment (even if it only has tags) would still be stored in rawdescription (or another dedicated field).
If this is intentional (the jsdoctags array does include the tags correctly), perhaps a separate property should be added to always store the raw JSDoc block.
Activity
fix(jsdoc): preserve description for custom JSDoc tags and add rawdes…