Fix docs for nimble change

This commit is contained in:
Ganesh Viswanathan 2020-07-28 14:09:48 -05:00
commit dfc4e09454

View file

@ -1,4 +1,4 @@
import macros, strformat
import strformat
from os import parentDir, getCurrentCompilerExe, DirSep
@ -32,7 +32,7 @@ proc execAction(cmd: string): string =
(result, ret) = gorgeEx(ccmd)
doAssert ret == 0, "Command failed: " & $ret & "\ncmd: " & ccmd & "\nresult:\n" & result
proc buildDocs*(files: openArray[string], path: string, baseDir = getProjectPath() & $DirSep,
proc buildDocs*(files: openArray[string], path: string, baseDir = getCurrentDir() & $DirSep,
defines: openArray[string] = @[], nimArgs = "") =
## Generate docs for all specified nim `files` to the specified `path`
##