'nim doc' is now using version 2 of the documentation generator

This commit is contained in:
Andreas Rumpf 2017-11-16 12:53:36 +01:00
commit a4d40d137e
6 changed files with 8 additions and 6 deletions

View file

@ -307,7 +307,7 @@ proc buildDoc(c: var TConfigData, destPath: string) =
destPath / changeFileExt(splitFile(d).name, "html"), d]
i.inc
for d in items(c.srcdoc):
commands[i] = findNim() & " doc $# --git.url:$# -o:$# --index:on $#" %
commands[i] = findNim() & " doc0 $# --git.url:$# -o:$# --index:on $#" %
[c.nimArgs, gitRepo,
destPath / changeFileExt(splitFile(d).name, "html"), d]
i.inc