Make docgen copy dochack file
This commit is contained in:
parent
d72f3399f8
commit
ce20471e09
1 changed files with 4 additions and 1 deletions
|
|
@ -13,7 +13,10 @@ requires "nim >= 1.0.6", "nimterop#head"
|
||||||
|
|
||||||
when gorgeEx("nimble path nimterop").exitCode == 0:
|
when gorgeEx("nimble path nimterop").exitCode == 0:
|
||||||
import nimterop/docs
|
import nimterop/docs
|
||||||
task docs, "Generate docs": buildDocs(@["src/sdl2.nim"], "build/htmldocs")
|
task docs, "Generate docs":
|
||||||
|
buildDocs(@["src/sdl2.nim"], "build/htmldocs")
|
||||||
|
cpFile("build/htmldocs/dochack.js", "build/htmldocs/sdl2/dochack.js")
|
||||||
|
|
||||||
else:
|
else:
|
||||||
task docs, "Do nothing": discard
|
task docs, "Do nothing": discard
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue