You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GerkinDev
changed the title
[Bug]: Leaf Pages always contain the top-menu as children
[Bug, incompatible Typedoc version]: Leaf Pages always contain the top-menu as children
Apr 27, 2023
Very well, I have used a workaround with a custom CSS file for now, will do for the meantime :)
If anyone else is interested, this is the relevant CSS, also note the comments
/* replace "Configuration" and "Changelog" with relevant keys from `data-key` on `.tsd-index-accordion` */
.tsd-index-accordion[data-key*="Configuration."] ul.tsd-nested-navigation,
.tsd-index-accordion[data-key*="Configuration."] .tsd-accordion-summary>svg,
.tsd-index-accordion[data-key="Changelog"] ul.tsd-nested-navigation,
.tsd-index-accordion[data-key="Changelog"] .tsd-accordion-summary>svg,/* Change the n + 6 to the correct number according to the menu items you have */
.tsd-index-accordion[data-key="Configuration"] li:nth-child(n + 6) {
display: none;
}
Plugin
@knodes/typedoc-plugin-pages
Typedoc plugin(s) version(s)
@knodes/[email protected]
Typedoc version
0.24.6
Describe the problem
Hi, thanks for all your work on this plugin!
I am having trouble with the menu in the output.
Here is my config:
But the output looks like this (notice the duplication, highlighted in red):
What did you expected ?
I expect the pages to be the bottom of the navigation in these subsections. Not sure what I've done wrong.
I have toyed around with
childrenDir
,childrenSourceDir
andchildren
sub-grouping but to no avail.The text was updated successfully, but these errors were encountered: