summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-11-28 02:50:54 +0100
committerAraq <rumpf_a@web.de>2017-11-28 02:51:10 +0100
commit8c634cdb2b12c9dff15ac31820df7ecf0c6c3497 (patch)
tree17566870aba3c6ff2b870bbfa1a0523839a41f7a
parent95629acd4d2db5bfb8a7feb902f2b66ee5b2fa73 (diff)
downloadNim-8c634cdb2b12c9dff15ac31820df7ecf0c6c3497.tar.gz
make the tests green again
-rw-r--r--compiler/docgen.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim
index 94cba4ffd..9a32636c2 100644
--- a/compiler/docgen.nim
+++ b/compiler/docgen.nim
@@ -793,7 +793,7 @@ proc commandRstAux(filename, outExt: string) =
     var outp: string
     if filename.len == 0:
       inc(d.id)
-      outp = getNimcacheDir() / splitFile(d.filename).name & "_snippet_" & $d.id & ".nim"
+      outp = completeGeneratedFilePath(splitFile(d.filename).name & "_snippet_" & $d.id & ".nim")
     elif isAbsolute(filename):
       outp = filename
     else: