Fix docbuild
This commit is contained in:
parent
50835baca8
commit
72dd992e66
1 changed files with 3 additions and 2 deletions
|
|
@ -94,7 +94,8 @@ proc buildDocs*(outDir, godotNimDir, godotBin: string) =
|
||||||
allNimFiles.add(file)
|
allNimFiles.add(file)
|
||||||
for file in allNimFiles:
|
for file in allNimFiles:
|
||||||
spawn execOrFail(
|
spawn execOrFail(
|
||||||
"nim doc -d:useRealtimeGc -o:" & quoted(outName(outDirAbs, file)) &
|
"nim doc -d:useRealtimeGc --path:godot -o:" &
|
||||||
|
quoted(outName(outDirAbs, file)) &
|
||||||
" --git.url:" & quoted(gitHubUrl) &
|
" --git.url:" & quoted(gitHubUrl) &
|
||||||
" --git.commit:" & quoted(gitCommit) &
|
" --git.commit:" & quoted(gitCommit) &
|
||||||
' ' & quoted(file))
|
' ' & quoted(file))
|
||||||
|
|
@ -103,7 +104,7 @@ proc buildDocs*(outDir, godotNimDir, godotBin: string) =
|
||||||
createDir(godotApiFolder)
|
createDir(godotApiFolder)
|
||||||
genApiFiles(godotApiFolder, godotBinAbs)
|
genApiFiles(godotApiFolder, godotBinAbs)
|
||||||
for file in walkDirRec(godotApiFolder, {pcFile, pcDir}, [".nim"]):
|
for file in walkDirRec(godotApiFolder, {pcFile, pcDir}, [".nim"]):
|
||||||
spawn execOrFail("nim doc -d:useRealtimeGc " & quoted(file))
|
spawn execOrFail("nim doc -d:useRealtimeGc --path:godot " & quoted(file))
|
||||||
|
|
||||||
sync()
|
sync()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue