summaryrefslogtreecommitdiffstats
path: root/src/Common
diff options
context:
space:
mode:
authorto-s <tobias.weber@enisyst.de>2020-10-19 12:38:51 -0400
committerGitHub <noreply@github.com>2020-10-19 18:38:51 +0200
commit771d246a96cd476fa9fddf600c532a28b2efd93a (patch)
treebd03b4bdec9a6a5bb85baca7ca7d988cde64fe95 /src/Common
parentd629202dd9419569c109475ad9f10405d8ab0d22 (diff)
downloaddoxdocgen-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/Common')
-rw-r--r--src/Common/IDocGen.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Common/IDocGen.ts b/src/Common/IDocGen.ts
index 1b5b1e1..5eaf8c1 100644
--- a/src/Common/IDocGen.ts
+++ b/src/Common/IDocGen.ts
@@ -1,9 +1,10 @@
import { Range } from "vscode";
+import GitConfig from "../GitConfig";
export interface IDocGen {
/**
* @brief Generate documentation string and write it to the active editor
* @param {Range} rangeToReplace Range to replace with the generated comment.
*/
- GenerateDoc(rangeToReplace: Range);
+ GenerateDoc(rangeToReplace: Range, gitConfig: GitConfig);
}