Skip to content

Commit

Permalink
fix: Remove the packageDocumentation tag from comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Dec 26, 2019
1 parent ef9ef6c commit 7cdc550
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/lib/converter/plugins/CommentPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export class CommentPlugin extends ConverterComponent {
}

if (reflection.kindOf(ReflectionKind.ExternalModule)) {
CommentPlugin.removeTags(comment, 'packageDocumentation');
CommentPlugin.removeTags(comment, 'packagedocumentation');
}
}

Expand Down
8 changes: 1 addition & 7 deletions src/test/converter/comment/specs.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,7 @@
},
"originalName": "%BASE%/comment/comment2.ts",
"comment": {
"shortText": "This is a module doc with the packageDocumentation tag to mark it as documentation\nfor the whole module. It is *not* documentation for the `multiply` function.",
"tags": [
{
"tag": "packagedocumentation",
"text": "\n"
}
]
"shortText": "This is a module doc with the packageDocumentation tag to mark it as documentation\nfor the whole module. It is *not* documentation for the `multiply` function."
},
"children": [
{
Expand Down

0 comments on commit 7cdc550

Please sign in to comment.