summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-05-26 01:08:35 -0700
committerGitHub <noreply@github.com>2020-05-26 10:08:35 +0200
commit38cb27765357e9b077b6b63fb7f9292cbd74b4e6 (patch)
tree7fa8268c2cf6c8234e1aec1d3afd8d5bd00c4317 /compiler
parent2a4a43b05fa3fa6ad3f85543ccfbd9ea450c9be0 (diff)
downloadNim-38cb27765357e9b077b6b63fb7f9292cbd74b4e6.tar.gz
docgen: mangling using _. instead of @@ to avoid issue (#14454)
Diffstat (limited to 'compiler')
-rw-r--r--compiler/nimpaths.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/nimpaths.nim b/compiler/nimpaths.nim
index 2d7fa53cb..9caaf4f05 100644
--- a/compiler/nimpaths.nim
+++ b/compiler/nimpaths.nim
@@ -27,6 +27,9 @@ const
   nimdocOutCss* = "nimdoc.out.css"
     # `out` to make it easier to use with gitignore in user's repos
   htmldocsDirname* = "htmldocs"
+  dotdotMangle* = "_._"  ## refs #13223
+    # if this changes, make sure it's consistent with `esc` and `escapeLink`
+    # lots of other obvious options won't work, see #14454; `_` could work too
 
 proc interp*(path: string, nimr: string): string =
   result = path % ["nimr", nimr]