docgen: mangling using _. instead of @@ to avoid issue (#14454)
This commit is contained in:
parent
2a4a43b05f
commit
38cb277653
4 changed files with 33 additions and 21 deletions
|
|
@ -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, "..")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue