summary refs log tree commit diff stats
path: root/config
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 /config
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 '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 eafc88b4e..abe039738 100644
--- a/config/nimdoc.cfg
+++ b/config/nimdoc.cfg
@@ -147,7 +147,7 @@ doc.body_toc_group = """
       <ul class="simple-boot">
         <li><a href="manual.html">Manual</a></li>
         <li><a href="lib.html">Standard library</a></li>
-        <li> <a href="$theindexhref">Index</a></li>
+        <li> <a id="indexLink" href="$theindexhref">Index</a></li>
         <li><a href="compiler/$theindexhref">Compiler docs</a></li>
         <li><a href="https://nim-lang.github.io/fusion/theindex.html">Fusion docs</a></li>
         <li><a href="https://nim-lang.github.io/Nim/">devel</a>, <a href="https://nim-lang.org/documentation.html">stable</a></li>
@@ -185,7 +185,7 @@ doc.body_toc_group = """
     </div>
     <div id="global-links">
       <ul class="simple">
-        <li><a href="$theindexhref">Index</a></li>
+        <li><a id="indexLink" href="$theindexhref">Index</a></li>
       </ul>
     </div>
     <div id="searchInputDiv">