summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-05-25 04:25:40 -0700
committerGitHub <noreply@github.com>2020-05-25 13:25:40 +0200
commit58282547f6d3fe4ce3fa2efe4f6afe07bc5de662 (patch)
tree2ef8bc28fa8d78ea8bc18505c00d178a10537da4 /config
parentcbfe9325c5c1851630ce10cf780d1af27c57d19a (diff)
downloadNim-58282547f6d3fe4ce3fa2efe4f6afe07bc5de662.tar.gz
fix #6583, fix #14376, index+search now generated for all projects, many bug fixes with nim doc (#14324)
* refs #6583 fix nim doc output
* changelog
* change default for outDir when unspecified
* cleanups
* --project implies --index
Diffstat (limited to 'config')
-rw-r--r--config/nimdoc.cfg9
1 files changed, 6 insertions, 3 deletions
diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg
index 4faebdf72..836b19ab6 100644
--- a/config/nimdoc.cfg
+++ b/config/nimdoc.cfg
@@ -100,7 +100,7 @@ doc.body_toc = """
         <a href="lib.html">Standard library</a>
       </li>
       <li>
-        <a href="theindex.html">Index</a>
+        <a href="$theindexhref">Index</a>
       </li>
     </ul>
   </div>
@@ -143,7 +143,7 @@ doc.body_toc_group = """
         <a href="lib.html">Standard library</a>
       </li>
       <li>
-        <a href="theindex.html">Index</a>
+        <a href="$theindexhref">Index</a>
       </li>
     </ul>
   </div>
@@ -183,6 +183,9 @@ doc.body_toc_group = """
   </div>
   <div id="global-links">
     <ul class="simple">
+    <li>
+      <a href="$theindexhref">Index</a>
+    </li>
     </ul>
   </div>
   <div id="searchInputDiv">
@@ -239,7 +242,7 @@ doc.file = """<?xml version="1.0" encoding="utf-8" ?>
 <title>$title</title>
 <link rel="stylesheet" type="text/css" href="$nimdoccss">
 
-<script type="text/javascript" src="dochack.js"></script>
+<script type="text/javascript" src="$dochackjs"></script>
 
 <script type="text/javascript">
 function main() {