From 15eac94ec733b1eab9ac330ce8f99840ada75613 Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Thu, 27 Sep 2018 15:47:16 -0400 Subject: [PATCH] Generate the dochack.js before deploying the devel docs --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) 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: