diff options
| author | Christoph Schlosser <christoph@linux.com> | 2018-02-24 10:57:22 +0100 |
|---|---|---|
| committer | Christoph Schlosser <christophschlosser@users.noreply.github.com> | 2018-02-25 01:58:38 +0100 |
| commit | f928a1049c6582e2fbb044676c5bbca89d9b7e33 (patch) | |
| tree | bd8cf6d766c495a9a737e709167f62c02f59b02a /src/Config.ts | |
| parent | d0b9d1868dc91aae5b79b414aaa51ab7100e2b60 (diff) | |
| download | doxdocgen-f928a1049c6582e2fbb044676c5bbca89d9b7e33.tar.gz | |
Generate description of file
Fix #51
Diffstat (limited to 'src/Config.ts')
| -rw-r--r-- | src/Config.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Config.ts b/src/Config.ts index 3a98a71..9b86fc8 100644 --- a/src/Config.ts +++ b/src/Config.ts @@ -20,12 +20,15 @@ export class Config { values.tparamTemplate = cfg.get<string>("tparamTemplate", values.tparamTemplate); values.returnTemplate = cfg.get<string>("returnTemplate", values.returnTemplate); values.linesToGet = cfg.get<number>("linesToGet", values.linesToGet); + values.authorTag = cfg.get<string>("authorTag", values.authorTag); + values.fileTemplate = cfg.get<string>("fileTemplate", values.fileTemplate); return values; } public readonly paramTemplateReplace: string = "{param}"; public readonly typeTemplateReplace: string = "{type}"; + public readonly nameTemplateReplace: string = "{name}"; public triggerSequence: string = "/**"; public firstLine: string = "/**"; @@ -41,4 +44,6 @@ export class Config { public tparamTemplate: string = "@tparam {param} "; public returnTemplate: string = "@return {type} "; public linesToGet: number = 20; + public authorTag: string = "@author your name"; + public fileTemplate: string = "@file {name}"; } |