Fix docs for nimble change
This commit is contained in:
parent
5ac66286d5
commit
dfc4e09454
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
import macros, strformat
|
import strformat
|
||||||
|
|
||||||
from os import parentDir, getCurrentCompilerExe, DirSep
|
from os import parentDir, getCurrentCompilerExe, DirSep
|
||||||
|
|
||||||
|
|
@ -32,7 +32,7 @@ proc execAction(cmd: string): string =
|
||||||
(result, ret) = gorgeEx(ccmd)
|
(result, ret) = gorgeEx(ccmd)
|
||||||
doAssert ret == 0, "Command failed: " & $ret & "\ncmd: " & ccmd & "\nresult:\n" & result
|
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 = "") =
|
defines: openArray[string] = @[], nimArgs = "") =
|
||||||
## Generate docs for all specified nim `files` to the specified `path`
|
## Generate docs for all specified nim `files` to the specified `path`
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue