diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg index 1e18c050e..701bd55ed 100644 --- a/config/nimdoc.cfg +++ b/config/nimdoc.cfg @@ -50,7 +50,7 @@ $seeSrc # See doc.item for available substitution variables. doc.item.toc = """
  • $name
  • + title="$header_plain">$name$attype """ # HTML rendered for doc.item's seeSrc variable. Note that this will render to @@ -949,6 +949,10 @@ span.pragmawrap { display: none; } +span.attachedType { + display: none; + visibility: hidden; +} diff --git a/nimdoc/testproject/expected/subdir/subdir_b/utils.html b/nimdoc/testproject/expected/subdir/subdir_b/utils.html index 12d98f91c..4c9a4fb19 100644 --- a/nimdoc/testproject/expected/subdir/subdir_b/utils.html +++ b/nimdoc/testproject/expected/subdir/subdir_b/utils.html @@ -761,6 +761,10 @@ span.pragmawrap { display: none; } +span.attachedType { + display: none; + visibility: hidden; +} @@ -812,7 +816,7 @@ function main() { @@ -820,7 +824,7 @@ function main() { Procs @@ -828,9 +832,9 @@ function main() { Templates diff --git a/nimdoc/testproject/expected/testproject.html b/nimdoc/testproject/expected/testproject.html index 7e62de630..afe6ffa6b 100644 --- a/nimdoc/testproject/expected/testproject.html +++ b/nimdoc/testproject/expected/testproject.html @@ -761,6 +761,10 @@ span.pragmawrap { display: none; } +span.attachedType { + display: none; + visibility: hidden; +} @@ -813,10 +817,10 @@ function main() { @@ -824,7 +828,7 @@ function main() { Vars @@ -832,9 +836,9 @@ function main() { Procs @@ -842,7 +846,7 @@ function main() { Funcs @@ -850,7 +854,7 @@ function main() { Macros @@ -858,7 +862,7 @@ function main() { Templates diff --git a/nimdoc/testproject/expected/theindex.html b/nimdoc/testproject/expected/theindex.html index 47d34be0a..de581bd41 100644 --- a/nimdoc/testproject/expected/theindex.html +++ b/nimdoc/testproject/expected/theindex.html @@ -761,6 +761,10 @@ span.pragmawrap { display: none; } +span.attachedType { + display: none; + visibility: hidden; +}