summaryrefslogtreecommitdiffstats
path: root/src/Config.ts
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2020-06-26 15:02:38 +0200
committerChristoph Schlosser <christophschlosser@users.noreply.github.com>2020-06-26 15:09:49 +0200
commit3e68f18e2e10d90bd094707141c943146482f68b (patch)
tree28e78a5ca625812e3241cb1917c3f34473fc3061 /src/Config.ts
parent42a085fbda8e742595cf5b543ac4f8202c03fb7d (diff)
downloaddoxdocgen-3e68f18e2e10d90bd094707141c943146482f68b.tar.gz
Add option to filter keywords
Diffstat (limited to 'src/Config.ts')
-rw-r--r--src/Config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Config.ts b/src/Config.ts
index b33aff2..1d942a1 100644
--- a/src/Config.ts
+++ b/src/Config.ts
@@ -57,6 +57,7 @@ class Generic {
public generateSmartText: boolean = true;
public splitCasingSmartText: boolean = true;
public order: string[] = ["brief", "empty", "tparam", "param", "return"];
+ public filteredKeywords: string[] = [];
}
export class Config {
@@ -95,6 +96,7 @@ export class Config {
values.Generic.generateSmartText = Generic.getConfiguration().get<boolean>("generateSmartText", values.Generic.generateSmartText);
values.Generic.splitCasingSmartText = Generic.getConfiguration().get<boolean>("splitCasingSmartText", values.Generic.splitCasingSmartText);
values.Generic.order = Generic.getConfiguration().get<string[]>("order", values.Generic.order);
+ values.Generic.filteredKeywords = Generic.getConfiguration().get<string[]>("filteredKeywords", values.Generic.filteredKeywords);
return values;
}