nim doc: fixes cross-link generation when --out is used
This commit is contained in:
parent
2d8adb8e03
commit
f14f554435
2 changed files with 10 additions and 5 deletions
|
|
@ -111,7 +111,7 @@ proc canon(x: string; result: var string; state: var int) =
|
|||
# f/..
|
||||
while d > (state and 1) and result[d-1] != DirSep:
|
||||
dec d
|
||||
setLen(result, d-1)
|
||||
if d > 0: setLen(result, d-1)
|
||||
elif isDot(x, b):
|
||||
discard "discard the dot"
|
||||
elif b[1] > b[0]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue