summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorKaushal Modi <kaushal.modi@gmail.com>2018-09-28 13:12:28 -0400
committerKaushal Modi <kaushal.modi@gmail.com>2018-09-29 13:15:29 -0400
commit2e5c759736a9458b192a3beb2cf3a38b2f198887 (patch)
tree9678795f664c69a5827aa214820b8831cf8e3252 /config
parent40e01d8549ce3c278dbe791d7af4f1e73b4d56da (diff)
downloadNim-2e5c759736a9458b192a3beb2cf3a38b2f198887.tar.gz
Make "koch docs" copy the dochack.js to the right location too
- Fixes https://github.com/nim-lang/Nim/issues/9104.
- Fixes https://github.com/nim-lang/Nim/issues/9095.

Expect dochack.js to be fetched from the doc/html/ dir instead of from
doc/.

Also remove an unused and unexported proc pathPart.
Diffstat (limited to 'config')
-rw-r--r--config/nimdoc.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg
index 960c58c9e..a955254f2 100644
--- a/config/nimdoc.cfg
+++ b/config/nimdoc.cfg
@@ -1374,7 +1374,7 @@ span.pragmawrap {
 
 </style>
 
-<script type="text/javascript" src="../dochack.js"></script>
+<script type="text/javascript" src="dochack.js"></script>
 
 <script type="text/javascript">
 function main() {