summaryrefslogtreecommitdiffstats
path: root/nimdoc
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 /nimdoc
parent332aa0af75baf328416068459931d5a6e4292d34 (diff)
downloadNim-dd4cc266cd39d7cecfd7215e683b0c6499fc4a36.tar.gz
Fixes #19900 (#19906)
Fixed tocRoot placement
Diffstat (limited to 'nimdoc')
-rw-r--r--nimdoc/rst2html/expected/rst_examples.html2
-rw-r--r--nimdoc/test_out_index_dot_html/expected/index.html2
-rw-r--r--nimdoc/testproject/expected/subdir/subdir_b/utils.html2
-rw-r--r--nimdoc/testproject/expected/testproject.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/nimdoc/rst2html/expected/rst_examples.html b/nimdoc/rst2html/expected/rst_examples.html
index 532917055..efc8ac414 100644
--- a/nimdoc/rst2html/expected/rst_examples.html
+++ b/nimdoc/rst2html/expected/rst_examples.html
@@ -49,7 +49,6 @@
<option value="type">Type</option>
</select>
</div>
- <div id="tocRoot"></div>
<ul class="simple simple-toc" id="toc-list">
<li><a class="reference" id="about-this-document_toc" href="#about-this-document">About this document</a></li>
<ul class="simple"><li><a class="reference" id="about-this-document-encoding_toc" href="#about-this-document-encoding">Encoding</a></li>
@@ -75,6 +74,7 @@
</div>
<div class="nine columns" id="content">
+ <div id="tocRoot"></div>
<p class="module-desc"><table class="docinfo" frame="void" rules="none"><col class="docinfo-name" /><col class="docinfo-content" /><tbody valign="top"><tr><th class="docinfo-name">Authors:</th><td>Andreas Rumpf, Zahary Karadjov</td></tr>
<tr><th class="docinfo-name">Version:</th><td>|nimversion|</td></tr>
diff --git a/nimdoc/test_out_index_dot_html/expected/index.html b/nimdoc/test_out_index_dot_html/expected/index.html
index 0c0dc2268..43285db6b 100644
--- a/nimdoc/test_out_index_dot_html/expected/index.html
+++ b/nimdoc/test_out_index_dot_html/expected/index.html
@@ -49,7 +49,6 @@
<option value="type">Type</option>
</select>
</div>
- <div id="tocRoot"></div>
<ul class="simple simple-toc" id="toc-list">
<li>
<details open>
@@ -69,6 +68,7 @@
</div>
<div class="nine columns" id="content">
+ <div id="tocRoot"></div>
<p class="module-desc"></p>
<div class="section" id="12">
diff --git a/nimdoc/testproject/expected/subdir/subdir_b/utils.html b/nimdoc/testproject/expected/subdir/subdir_b/utils.html
index d5a3b84c7..4d753ad8f 100644
--- a/nimdoc/testproject/expected/subdir/subdir_b/utils.html
+++ b/nimdoc/testproject/expected/subdir/subdir_b/utils.html
@@ -49,7 +49,6 @@
<option value="type">Type</option>
</select>
</div>
- <div id="tocRoot"></div>
<ul class="simple simple-toc" id="toc-list">
<li><a class="reference" id="this-is-now-a-header_toc" href="#this-is-now-a-header">This is now a header</a></li>
<ul class="simple"><li><a class="reference" id="this-is-now-a-header-next-header_toc" href="#this-is-now-a-header-next-header">Next header</a></li>
@@ -197,6 +196,7 @@
</div>
<div class="nine columns" id="content">
+ <div id="tocRoot"></div>
<p class="module-desc"><p>This is a description of the utils module.</p>
<p>Links work:</p>
diff --git a/nimdoc/testproject/expected/testproject.html b/nimdoc/testproject/expected/testproject.html
index 49f24d204..24dfdc13f 100644
--- a/nimdoc/testproject/expected/testproject.html
+++ b/nimdoc/testproject/expected/testproject.html
@@ -49,7 +49,6 @@
<option value="type">Type</option>
</select>
</div>
- <div id="tocRoot"></div>
<ul class="simple simple-toc" id="toc-list">
<li>
<details open>
@@ -335,6 +334,7 @@
</div>
<div class="nine columns" id="content">
+ <div id="tocRoot"></div>
<p class="module-desc">This is the top level module.
<p><strong class="examples_text">Example:</strong></p>