The file directive is relative to the file it is in
This commit is contained in:
parent
9031c8fb0f
commit
49710b9d14
1 changed files with 1 additions and 1 deletions
|
|
@ -246,7 +246,7 @@ proc genComment(d: PDoc, n: PNode): string =
|
|||
result = ""
|
||||
var dummyHasToc: bool
|
||||
if n.comment.len > 0:
|
||||
renderRstToOut(d[], parseRst(n.comment, toFilename(d.conf, n.info),
|
||||
renderRstToOut(d[], parseRst(n.comment, toFullPath(d.conf, n.info),
|
||||
toLinenumber(n.info), toColumn(n.info),
|
||||
dummyHasToc, d.options, d.conf), result)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue