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.
This commit is contained in:
Kaushal Modi 2018-09-28 13:12:28 -04:00
commit 2e5c759736
6 changed files with 16 additions and 15 deletions

View file

@ -1199,7 +1199,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() {

View file

@ -1199,7 +1199,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() {

View file

@ -1199,7 +1199,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() {