summary refs log tree commit diff stats
path: root/nimdoc
diff options
context:
space:
mode:
authorJake Leahy <jake@leahy.dev>2022-11-22 06:59:06 +1100
committerGitHub <noreply@github.com>2022-11-21 14:59:06 -0500
commit753868f16cf101073a7fc2d37d6b78310dd58d5c (patch)
treedc26e8ae5cf79afd5fe2c4bac61990e540729fd4 /nimdoc
parent19cc494b802210936328189a6e3aee3b1e8797a7 (diff)
downloadNim-753868f16cf101073a7fc2d37d6b78310dd58d5c.tar.gz
Fix #14476 (#20878)
* Use link from webpage. Closes #14476

* Update doc generation tests

* Update RST test
Diffstat (limited to 'nimdoc')
-rw-r--r--nimdoc/rst2html/expected/rst_examples.html2
-rw-r--r--nimdoc/test_doctype/expected/test_doctype.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
5 files changed, 5 insertions, 5 deletions
diff --git a/nimdoc/rst2html/expected/rst_examples.html b/nimdoc/rst2html/expected/rst_examples.html
index 210dbce4e..72f6453f2 100644
--- a/nimdoc/rst2html/expected/rst_examples.html
+++ b/nimdoc/rst2html/expected/rst_examples.html
@@ -33,7 +33,7 @@
     </div>
     <div id="global-links">
       <ul class="simple">
-        <li><a href="theindex.html">Index</a></li>
+        <li><a id="indexLink" href="theindex.html">Index</a></li>
       </ul>
     </div>
     <div id="searchInputDiv">
diff --git a/nimdoc/test_doctype/expected/test_doctype.html b/nimdoc/test_doctype/expected/test_doctype.html
index 6e81ffd9d..01ad6e5a0 100644
--- a/nimdoc/test_doctype/expected/test_doctype.html
+++ b/nimdoc/test_doctype/expected/test_doctype.html
@@ -33,7 +33,7 @@
     </div>
     <div id="global-links">
       <ul class="simple">
-        <li><a href="theindex.html">Index</a></li>
+        <li><a id="indexLink" href="theindex.html">Index</a></li>
       </ul>
     </div>
     <div id="searchInputDiv">
diff --git a/nimdoc/test_out_index_dot_html/expected/index.html b/nimdoc/test_out_index_dot_html/expected/index.html
index e5148d1a3..22d5daa35 100644
--- a/nimdoc/test_out_index_dot_html/expected/index.html
+++ b/nimdoc/test_out_index_dot_html/expected/index.html
@@ -33,7 +33,7 @@
     </div>
     <div id="global-links">
       <ul class="simple">
-        <li><a href="theindex.html">Index</a></li>
+        <li><a id="indexLink" href="theindex.html">Index</a></li>
       </ul>
     </div>
     <div id="searchInputDiv">
diff --git a/nimdoc/testproject/expected/subdir/subdir_b/utils.html b/nimdoc/testproject/expected/subdir/subdir_b/utils.html
index f48c5edc2..7d59e9e86 100644
--- a/nimdoc/testproject/expected/subdir/subdir_b/utils.html
+++ b/nimdoc/testproject/expected/subdir/subdir_b/utils.html
@@ -33,7 +33,7 @@
     </div>
     <div id="global-links">
       <ul class="simple">
-        <li><a href="../../theindex.html">Index</a></li>
+        <li><a id="indexLink" href="../../theindex.html">Index</a></li>
       </ul>
     </div>
     <div id="searchInputDiv">
diff --git a/nimdoc/testproject/expected/testproject.html b/nimdoc/testproject/expected/testproject.html
index f6bd56aa6..4caff7ec7 100644
--- a/nimdoc/testproject/expected/testproject.html
+++ b/nimdoc/testproject/expected/testproject.html
@@ -33,7 +33,7 @@
     </div>
     <div id="global-links">
       <ul class="simple">
-        <li><a href="theindex.html">Index</a></li>
+        <li><a id="indexLink" href="theindex.html">Index</a></li>
       </ul>
     </div>
     <div id="searchInputDiv">