diff options
author | Araq <rumpf_a@web.de> | 2016-09-09 16:16:58 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-09-09 16:16:58 +0200 |
commit | 37c3c0033dd3a1054e375a8770f93e4dc3239f4c (patch) | |
tree | d60e5a6fcb17993ae0699d4055e6fbc50675423d /compiler | |
parent | 89320e133bb455cb94ab5a0aaecb45813d10d7b5 (diff) | |
download | Nim-37c3c0033dd3a1054e375a8770f93e4dc3239f4c.tar.gz |
generated theindex.html is valid html
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/docgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim index 22350a2bb..c220902ff 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -456,7 +456,7 @@ proc genItem(d: PDoc, n, nameNode: PNode, k: TSymKind) = var seeSrcRope: Rope = nil let docItemSeeSrc = getConfigVar("doc.item.seesrc") if docItemSeeSrc.len > 0: - let cwd = getCurrentDir() + let cwd = getCurrentDir().canonicalizePath() var path = n.info.toFullPath if path.startsWith(cwd): path = path[cwd.len+1 .. ^1].replace('\\', '/') |