summary refs log tree commit diff stats
path: root/.travis.yml
diff options
context:
space:
mode:
authorKaushal Modi <kaushal.modi@gmail.com>2018-09-27 15:47:16 -0400
committerKaushal Modi <kaushal.modi@gmail.com>2018-09-27 15:47:16 -0400
commit15eac94ec733b1eab9ac330ce8f99840ada75613 (patch)
tree9e26c87a62ddfc3d28ac5dafc96c3555ac3cfb8f /.travis.yml
parent72e15ff739cc73fbf6e3090756d3f9cb3d5af2fa (diff)
downloadNim-15eac94ec733b1eab9ac330ce8f99840ada75613.tar.gz
Generate the dochack.js before deploying the devel docs
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index b4fa886b7..1e2022654 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,6 +53,9 @@ script:
   - nim c -r nimdoc/tester
 
 before_deploy:
+  # Generate the dochack.js for the doc search to work.
+  - nim js ./tools/dochack/dochack.nim
+  - cp -f ./tools/dochack/nimcache/dochack.js ./doc/.
   # Make https://nim-lang.github.io/Nim work the same as https://nim-lang.github.io/Nim/overview.html
   - cp -f ./doc/html/overview.html ./doc/html/index.html
 deploy: