Merge pull request #9096 from kaushalmodi/add-dochack-gen-to-nightly-docs

Generate the dochack.js before deploying the devel docs
This commit is contained in:
Andreas Rumpf 2018-09-28 09:17:10 +02:00 • committed by GitHub
commit f7797dc502
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,6 +53,9 @@ script:
- nim c -r nimdoc/tester - nim c -r nimdoc/tester
before_deploy: 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 # 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 - cp -f ./doc/html/overview.html ./doc/html/index.html
deploy: deploy: