summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-06-25 07:47:10 -0700
committerGitHub <noreply@github.com>2021-06-25 16:47:10 +0200
commit8535b26a754b2daea46627019e3145d7c12d826e (patch)
tree5171535faef9d424694cc0261fe945e227d391ca /tools
parentceb9e3efc9111f7dda47726c71d2476624ce92c2 (diff)
downloadNim-8535b26a754b2daea46627019e3145d7c12d826e.tar.gz
docs now show nimExperimentalX APIs (#18345)
* docs now show nimExperimentalX APIs

* fix for windows
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 f25564fad..469059348 100644
--- a/tools/kochdocs.nim
+++ b/tools/kochdocs.nim
@@ -8,7 +8,8 @@ const
   gaCode* = " --doc.googleAnalytics:UA-48159761-1"
   # errormax: subsequent errors are probably consequences of 1st one; a simple
   # bug could cause unlimited number of errors otherwise, hard to debug in CI.
-  nimArgs = "--errormax:3 --hint:Conf:off --hint:Path:off --hint:Processing:off --hint:XDeclaredButNotUsed:off --warning:UnusedImport:off -d:boot --putenv:nimversion=$#" % system.NimVersion
+  docDefines = "-d:nimExperimentalAsyncjsThen -d:nimExperimentalJsfetch -d:nimExperimentalLinenoiseExtra"
+  nimArgs = "--errormax:3 --hint:Conf:off --hint:Path:off --hint:Processing:off --hint:XDeclaredButNotUsed:off --warning:UnusedImport:off -d:boot --putenv:nimversion=$# $#" % [system.NimVersion, docDefines]
   gitUrl = "https://github.com/nim-lang/Nim"
   docHtmlOutput = "doc/html"
   webUploadOutput = "web/upload"