diff options
Diffstat (limited to 'compiler/docgen.nim')
-rw-r--r-- | compiler/docgen.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 2e9b1affe..bfd09895a 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -109,6 +109,8 @@ proc getOutFile2(conf: ConfigRef; filename: RelativeFile, else: conf.projectPath createDir(d) result = d / changeFileExt(filename, ext) + elif not conf.outFile.isEmpty: + result = absOutFile(conf) else: result = getOutFile(conf, filename, ext) |