summaryrefslogtreecommitdiffstats
path: root/src/Config.ts
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2018-03-01 18:07:26 +0100
committerChristoph Schlosser <christophschlosser@users.noreply.github.com>2018-03-02 20:24:28 +0100
commitf41d471874c07e78a6541994b09e9f8bf751bfe5 (patch)
tree118c2ab8a3ec704742632a9c9c4a35ed5e7904ed /src/Config.ts
parent38e3c4c2cf3feb2a73226a295d039fe907b044af (diff)
downloaddoxdocgen-f41d471874c07e78a6541994b09e9f8bf751bfe5.tar.gz
Make smart text configurable
Diffstat (limited to 'src/Config.ts')
-rw-r--r--src/Config.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Config.ts b/src/Config.ts
index e8d7379..3c589f5 100644
--- a/src/Config.ts
+++ b/src/Config.ts
@@ -25,6 +25,9 @@ export class Config {
values.dateTemplate = cfg.get<string>("dateTemplate", values.dateTemplate);
values.dateFormat = cfg.get<string>("dateFormat", values.dateFormat);
values.fileOrder = cfg.get<string[]>("fileOrder", values.fileOrder);
+ values.ctorText = cfg.get<string>("ctorText", values.ctorText);
+ values.dtorText = cfg.get<string>("dtorText", values.dtorText);
+ values.generateSmartText = cfg.get<boolean>("generateSmartText", values.generateSmartText);
return values;
}
@@ -53,4 +56,7 @@ export class Config {
public dateTemplate: string = "@date {date}";
public dateFormat: string = "YYYY-MM-DD";
public fileOrder: string[] = ["brief", "file", "author", "date"];
+ public ctorText: string = "YYYY-MM-DD";
+ public dtorText: string = "YYYY-MM-DD";
+ public generateSmartText: boolean = true;
}