From 49710b9d14291389529cdc627c21a25a99ff238d Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Tue, 29 Jan 2019 11:52:19 +0100 Subject: The `file` directive is relative to the file it is in --- compiler/docgen.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 90b6d0426..b70561a1d 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -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) -- cgit 1.4.1-2-gfad0