mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
Generate the dochack.js before deploying the devel docs
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user