summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorMiran <narimiran@disroot.org>2020-07-24 21:15:20 +0200
committerGitHub <noreply@github.com>2020-07-24 21:15:20 +0200
commit4b93c61f0d783cbc1ce35d4494b533186595cdbd (patch)
tree55b5847214ab2656ac1e521c9b17c3020c1ea1e3 /tools
parent12a9fe017e4a49a161f5cabbbbcae0f5668b0ae3 (diff)
downloadNim-4b93c61f0d783cbc1ce35d4494b533186595cdbd.tar.gz
jsre: try to fix nightlies (#15057)
Diffstat (limited to 'tools')
-rw-r--r--tools/kochdocs.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/kochdocs.nim b/tools/kochdocs.nim
index 43b802ee2..8a8406a69 100644
--- a/tools/kochdocs.nim
+++ b/tools/kochdocs.nim
@@ -160,6 +160,7 @@ lib/posix/posix_linux_amd64_consts.nim
 lib/posix/posix_other_consts.nim
 lib/posix/posix_openbsd_amd64.nim
 lib/posix/posix_haiku.nim
+lib/js/jsre.nim
 """.splitWhitespace()
 
 when (NimMajor, NimMinor) < (1, 1) or not declared(isRelativeTo):
@@ -258,7 +259,7 @@ proc buildDoc(nimArgs, destPath: string) =
       destPath / changeFileExt(splitFile(d).name, "html"), d]
     i.inc
   for d in items(doc):
-    let extra = if isJsOnly(d): " --backend:js " else: ""
+    let extra = if isJsOnly(d): "--backend:js" else: ""
     var nimArgs2 = nimArgs
     if d.isRelativeTo("compiler"): doAssert false
     commands[i] = nim & " doc $# $# --git.url:$# --outdir:$# --index:on $#" %