summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorJake Leahy <jake@leahy.dev>2022-06-19 15:36:33 +1000
committerGitHub <noreply@github.com>2022-06-19 07:36:33 +0200
commitdd4cc266cd39d7cecfd7215e683b0c6499fc4a36 (patch)
tree04ba11b015a8638f090c8b93b9b50129b7d9729c /config
parent332aa0af75baf328416068459931d5a6e4292d34 (diff)
downloadNim-dd4cc266cd39d7cecfd7215e683b0c6499fc4a36.tar.gz
Fixes #19900 (#19906)
Fixed tocRoot placement
Diffstat (limited to 'config')
-rw-r--r--config/nimdoc.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg
index 725f9e0a5..3b0afe8d6 100644
--- a/config/nimdoc.cfg
+++ b/config/nimdoc.cfg
@@ -149,11 +149,11 @@ doc.body_toc_group = """
         onkeyup="search()" />
     </div>
     $body_toc_groupsection
-    <div id="tocRoot"></div>
     $tableofcontents
   </div>
   <div class="nine columns" id="content">
     $seeSrc
+    <div id="tocRoot"></div>
     $deprecationMsg
     <p class="module-desc">$moduledesc</p>
     $content
@@ -188,11 +188,11 @@ doc.body_toc_group = """
         <option value="type">Type</option>
       </select>
     </div>
-    <div id="tocRoot"></div>
     $tableofcontents
   </div>
   <div class="nine columns" id="content">
     $seeSrc
+    <div id="tocRoot"></div>
     $deprecationMsg
     <p class="module-desc">$moduledesc</p>
     $content