doc2 improvements
This commit is contained in:
parent
2d8138768a
commit
869a5aa90d
10 changed files with 27 additions and 22 deletions
|
|
@ -22,8 +22,12 @@ type
|
|||
|
||||
proc close(p: PPassContext, n: PNode): PNode =
|
||||
var g = PGen(p)
|
||||
writeOutput(g.doc, g.filename, HtmlExt)
|
||||
generateIndex(g.doc)
|
||||
let useWarning = sfMainModule notin g.module.flags
|
||||
writeOutput(g.doc, g.filename, HtmlExt, useWarning)
|
||||
try:
|
||||
generateIndex(g.doc)
|
||||
except EIO:
|
||||
nil
|
||||
|
||||
proc processNode(c: PPassContext, n: PNode): PNode =
|
||||
result = n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue