File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
src/lib/converter/plugins Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 13
13
- Fixed an issue with packages mode where TypeDoc would use (much) more memory than required, #2607 .
14
14
- TypeDoc will no longer crash when asked to render highlighted code for an unsupported language, #2609 .
15
15
- Fixed an issue where relatively-linked files would not be copied to the output directory in packages mode.
16
+ - Fixed an issue where modifier tags were not applied to top level modules in packages mode.
17
+ - Fixed an issue where excluded tags were not removed from top level modules in packages mode.
16
18
- ` .jsonc ` configuration files are now properly read as JSONC, rather than being passed to ` require ` .
17
19
18
20
### Thanks!
Original file line number Diff line number Diff line change @@ -237,9 +237,8 @@ export class CommentPlugin extends ConverterComponent {
237
237
238
238
if (
239
239
reflection . kindOf (
240
- ReflectionKind . Module | ReflectionKind . Namespace ,
241
- ) ||
242
- reflection . kind === ReflectionKind . Project
240
+ ReflectionKind . Project | ReflectionKind . SomeModule ,
241
+ )
243
242
) {
244
243
comment . removeTags ( "@module" ) ;
245
244
comment . removeModifier ( "@packageDocumentation" ) ;
@@ -317,6 +316,11 @@ export class CommentPlugin extends ConverterComponent {
317
316
* @param context The context object describing the current state the converter is in.
318
317
*/
319
318
private onBeginResolve ( context : Context ) {
319
+ if ( context . project . comment ) {
320
+ this . applyModifiers ( context . project , context . project . comment ) ;
321
+ this . removeExcludedTags ( context . project . comment ) ;
322
+ }
323
+
320
324
const project = context . project ;
321
325
const reflections = Object . values ( project . reflections ) ;
322
326
You can’t perform that action at this time.
0 commit comments