-
-
Notifications
You must be signed in to change notification settings - Fork 745
Description
Search terms
category description missing
Description
I was updating typedoc-plugin-merge-modules (krisztianb/typedoc-plugin-merge-modules#21) to use ESM so that it can be used with TypeDoc 0.27 when I noticed some tests of that plugin were failing after the update. After taking a look and trying it without the plugin, TypeDoc's behavior regarding @categoryDescription seems to have that changed -- in that it does not seem to output the description anymore.
I found one note in the changelog regarding that tag, but it sounds like it should affect only plugin authors, but not people using the CLI?
API: @group, @category, @groupDescription and @categoryDescription will no longer be removed from the reflections they are present on. They are skipped during rendering with the notRenderedTags option.
Steps to reproduce the bug
Take the example from the documentation for @categoryDescription:
// cat.ts
/**
* @categoryDescription Advanced Use
* These functions are available for...
* @module
*/
/**
* @category General Use
*/
export function runProcess(): void {}
/**
* @category Advanced Use
*/
export function unref(): void {}
/**
* @category Advanced Use
*/
export function ref(): void{}
And run npx typedoc cat.ts --out docs
Expected Behavior
TypeDoc should output the category description in the docs.
Actual Behavior
With TypeDoc 0.26.11:
With TypeDoc 0.27.0:
Also, even grep -r docs -e 'These functions are available'
doesn't find anything, so it's definitely nowhere in the generated docs.
Environment
- Typedoc version: 0.26.11 / 0.27.0
- TypeScript version: 5.6.3