The sidebar menu tree generates not a correct syntax for nested lists. A nested UL has to start within a LI item.
see: https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals#nesting_lists
Also there are more ULs generated then needed and some ILs are missing.
This is the (shortend) current code of https://www.docsy.dev/docs/
<nav class="collapse td-sidebar-nav" id="td-section-nav">
<ul class="td-sidebar-nav__section pr-md-3">
<li class="td-sidebar-nav__section-title">
<a href="/docs/" class="align-left pl-0 pr-2 active td-sidebar-link td-sidebar-link__section">Documentation</a>
</li>
<ul>
<li class="collapse show" id="docs">
<ul class="td-sidebar-nav__section pr-md-3">
<li class="td-sidebar-nav__section-title">
<a href="/docs/getting-started/" class="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section">Getting Started</a>
</li>
<ul>
<li class="collapse show" id="docsgetting-started">
</li>
</ul>
</ul>
<ul class="td-sidebar-nav__section pr-md-3">
<li class="td-sidebar-nav__section-title">
<a href="/docs/adding-content/" class="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section">Content and Customization</a>
</li>
<ul>
<li class="collapse show" id="docsadding-content">
<a class="td-sidebar-link td-sidebar-link__page " id="m-docsadding-contentcontent" href="/docs/adding-content/content/">Adding Content</a>
<a class="td-sidebar-link td-sidebar-link__page " id="m-docsadding-contentlookandfeel" href="/docs/adding-content/lookandfeel/">Look and Feel</a>
<a class="td-sidebar-link td-sidebar-link__page " id="m-docsadding-contentnavigation" href="/docs/adding-content/navigation/">Navigation and Search</a>
<a class="td-sidebar-link td-sidebar-link__page " id="m-docsadding-contentversioning" href="/docs/adding-content/versioning/">Doc Versioning</a>
<a class="td-sidebar-link td-sidebar-link__page " id="m-docsadding-contentshortcodes" href="/docs/adding-content/shortcodes/">Docsy Shortcodes</a>
<a class="td-sidebar-link td-sidebar-link__page " id="m-docsadding-contenticonsimages" href="/docs/adding-content/iconsimages/">Logos and Images</a>
<a class="td-sidebar-link td-sidebar-link__page " id="m-docsadding-contentprint" href="/docs/adding-content/print/">Print Support</a>
<a class="td-sidebar-link td-sidebar-link__page " id="m-docsadding-contentfeedback" href="/docs/adding-content/feedback/">Analytics and User Feedback</a>
<a class="td-sidebar-link td-sidebar-link__page " id="m-docsadding-contentrepository-links" href="/docs/adding-content/repository-links/">Repository Links</a>
</li>
</ul>
</ul>
<ul class="td-sidebar-nav__section pr-md-3">
<li class="td-sidebar-nav__section-title">
<a href="/docs/contribution-guidelines/" class="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section">Contribution Guidelines</a>
</li>
<ul>
<li class="collapse show" id="docscontribution-guidelines">
</li>
</ul>
</ul>
</li>
</ul>
</ul>
</nav>
Where is this structure defined aside of https://github.com/google/docsy/blob/master/layouts/partials/sidebar-tree.html?
If we want to change this, we also have to change the CSS!
Are there other functions of Docsy, which could get effected?
The sidebar menu tree generates not a correct syntax for nested lists. A nested UL has to start within a LI item.
see: https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals#nesting_lists
Also there are more ULs generated then needed and some ILs are missing.
This is the (shortend) current code of https://www.docsy.dev/docs/
Where is this structure defined aside of https://github.com/google/docsy/blob/master/layouts/partials/sidebar-tree.html?
If we want to change this, we also have to change the CSS!
Are there other functions of Docsy, which could get effected?