This is an automated email from the ASF dual-hosted git repository. chibenwa pushed a commit to branch staging in repository https://gitbox.apache.org/repos/asf/james-site.git
commit bf3b21ac11c3e3a5fb05f268beaa3b1fa9437f7d Author: Benoit TELLIER <[email protected]> AuthorDate: Thu Aug 27 11:10:53 2026 +0700 [ENHANCEMENT] Unfold community section by default --- doc-sites/ui-overrides/partials/nav-tree.hbs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc-sites/ui-overrides/partials/nav-tree.hbs b/doc-sites/ui-overrides/partials/nav-tree.hbs new file mode 100644 index 000000000..f8e45b723 --- /dev/null +++ b/doc-sites/ui-overrides/partials/nav-tree.hbs @@ -0,0 +1,22 @@ +{{!-- Copy of the default UI nav-tree, with menus expanded by default on the james-site component. --}} +{{#if navigation.length}} +<ul class="nav-list"> + {{#each navigation}} + <li class="nav-item{{#if (eq ./url @root.page.url)}} is-current-page{{/if}}{{#if (and ./items.length (eq @root.page.component.name 'james-site'))}} is-active{{/if}}" data-depth="{{or ../level 0}}"> + {{#if ./content}} + {{#if ./items.length}} + <button class="nav-item-toggle"></button> + {{/if}} + {{#if ./url}} + <a class="nav-link" href=" + {{~#if (eq ./urlType 'internal')}}{{{relativize ./url}}} + {{~else}}{{{./url}}}{{~/if}}">{{{./content}}}</a> + {{else}} + <span class="nav-text">{{{./content}}}</span> + {{/if}} + {{/if}} +{{> nav-tree navigation=./items level=(increment ../level)}} + </li> + {{/each}} +</ul> +{{/if}} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
