diff options
| author | to-s <tobias.weber@enisyst.de> | 2020-10-19 12:38:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-19 18:38:51 +0200 |
| commit | 771d246a96cd476fa9fddf600c532a28b2efd93a (patch) | |
| tree | bd03b4bdec9a6a5bb85baca7ca7d988cde64fe95 /src/Config.ts | |
| parent | d629202dd9419569c109475ad9f10405d8ab0d22 (diff) | |
| download | doxdocgen-771d246a96cd476fa9fddf600c532a28b2efd93a.tar.gz | |
Substitute author and email by git config (#186)
* Substitute author and email by git config
* Upgraded version of typescript
Due to https://github.com/cschlosser/doxdocgen/pull/186#discussion_r505813068
* Moved to CppDocGen.generateAuthorTag()
Due to https://github.com/cschlosser/doxdocgen/pull/186#discussion_r505819542
* Update README.md
Due to https://github.com/cschlosser/doxdocgen/pull/186#discussion_r505822908
* Update TestSetup.ts
* Added tests
* Changed return type to string
Due to https://ci.appveyor.com/project/cschlosser/doxdocgen/builds/35818180#L566
Co-authored-by: Christoph Schlosser <2466365+cschlosser@users.noreply.github.com>
Diffstat (limited to 'src/Config.ts')
| -rw-r--r-- | src/Config.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Config.ts b/src/Config.ts index 51aebc3..e103b47 100644 --- a/src/Config.ts +++ b/src/Config.ts @@ -59,6 +59,8 @@ class Generic { public order: string[] = ["brief", "empty", "tparam", "param", "return"]; public customTags: string[] = []; public filteredKeywords: string[] = []; + public useGitUserName: boolean = false; + public useGitUserEmail: boolean = false; } export class Config { @@ -99,6 +101,8 @@ export class Config { values.Generic.order = Generic.getConfiguration().get<string[]>("order", values.Generic.order); values.Generic.customTags = Generic.getConfiguration().get<string[]>("customTags", values.Generic.customTags); values.Generic.filteredKeywords = Generic.getConfiguration().get<string[]>("filteredKeywords", values.Generic.filteredKeywords); + values.Generic.useGitUserName = Generic.getConfiguration().get<boolean>("useGitUserName", values.Generic.useGitUserName); + values.Generic.useGitUserEmail = Generic.getConfiguration().get<boolean>("useGitUserEmail", values.Generic.useGitUserEmail); return values; } |