diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-05-26 01:08:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 10:08:35 +0200 |
commit | 38cb27765357e9b077b6b63fb7f9292cbd74b4e6 (patch) | |
tree | 7fa8268c2cf6c8234e1aec1d3afd8d5bd00c4317 /lib/packages/docutils | |
parent | 2a4a43b05fa3fa6ad3f85543ccfbd9ea450c9be0 (diff) | |
download | Nim-38cb27765357e9b077b6b63fb7f9292cbd74b4e6.tar.gz |
docgen: mangling using _. instead of @@ to avoid issue (#14454)
Diffstat (limited to 'lib/packages/docutils')
-rw-r--r-- | lib/packages/docutils/rstgen.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/packages/docutils/rstgen.nim b/lib/packages/docutils/rstgen.nim index 2929b2f9a..dbc1a4845 100644 --- a/lib/packages/docutils/rstgen.nim +++ b/lib/packages/docutils/rstgen.nim @@ -28,6 +28,8 @@ import strutils, os, hashes, strtabs, rstast, rst, highlite, tables, sequtils, algorithm, parseutils +import "$lib/../compiler/nimpaths" + const HtmlExt = "html" IndexExt* = ".idx" @@ -78,8 +80,6 @@ type testCmd: string status: int -const dotdotMangle* = "@@" ## refs #13223 - proc prettyLink*(file: string): string = changeFileExt(file, "").replace(dotdotMangle, "..") |