diff options
author | Jake Leahy <jake@leahy.dev> | 2022-07-17 07:41:18 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-16 17:41:18 -0400 |
commit | c43a377057c56d5213eb298feba883363f2b2a26 (patch) | |
tree | 54db4270070a74f4438f9d6c3fa2d15bee51224e /nimdoc/testproject | |
parent | 094d86f99783f1366394fa444277c417dcbd1af3 (diff) | |
download | Nim-c43a377057c56d5213eb298feba883363f2b2a26.tar.gz |
Make imports/exports not be a dropdown in sidebar (#19907)
* Don't make a section be a dropdown if it has no child links * - Cleaned up code - Updated tests * Document what the 'if' is checking
Diffstat (limited to 'nimdoc/testproject')
-rw-r--r-- | nimdoc/testproject/expected/testproject.html | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/nimdoc/testproject/expected/testproject.html b/nimdoc/testproject/expected/testproject.html index 24dfdc13f..5fb9e697c 100644 --- a/nimdoc/testproject/expected/testproject.html +++ b/nimdoc/testproject/expected/testproject.html @@ -51,12 +51,7 @@ </div> <ul class="simple simple-toc" id="toc-list"> <li> - <details open> - <summary><a class="reference reference-toplevel" href="#6" id="56">Imports</a></summary> - <ul class="simple simple-toc-section"> - - </ul> - </details> + <a class="reference reference-toplevel" href="#6" id="56">Imports</a> </li> <li> <details open> |