Skip to content

Alternative fix: make OpenBolt topic-group pages reachable from the navbar#388

Closed
miharp wants to merge 1 commit into
OpenVoxProject:masterfrom
miharp:fix/openbolt-navbar-topic-links-386
Closed

Alternative fix: make OpenBolt topic-group pages reachable from the navbar#388
miharp wants to merge 1 commit into
OpenVoxProject:masterfrom
miharp:fix/openbolt-navbar-topic-links-386

Conversation

@miharp

@miharp miharp commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Short description

Alternative, smaller fix for #386, posted alongside #387 for comparison.

#387 fixes this by teaching _includes/nav-item.html (the shared sidebar template used by every collection) to render a nav entry as both a clickable link and a collapsible group. This PR instead makes no template changes: it adds an "Overview" link as the first child item inside each of the three affected groups (Plans, Tasks, Bolt Examples), matching the pattern the nav data already uses for "Modules". The group header still only expands/collapses; the overview page becomes reachable via the new child link.

Trade-off versus #387: this doesn't make the group header itself clickable (so it doesn't match the original Puppet Bolt docs' click-to-navigate behavior exactly), but it carries zero risk to the shared nav template that every other collection's sidebar depends on.

Also adds a short hand-written list of sub-topics to plans.md, tasks.md, and bolt_examples.md (matching the original Puppet Bolt docs), rather than #387's approach of a generic Liquid include that reverse-looks-up the nav tree and parses rendered HTML to extract each child's intro paragraph. With only three affected pages that change rarely, a static list is simpler and avoids that include's build-order dependent HTML parsing.

Out of scope here (left to #387 or a follow-up): the Bolt-to-OpenBolt branding pass and folding bolt.md into index.md.

Plans, Tasks, and Bolt Examples each have their own overview page, but
the navbar only rendered them as collapsible group headers with no way
to reach the page itself. Add an "Overview" link as the first item in
each group, matching the existing pattern used by "Modules", and add a
short list of sub-topics to each overview page's content, matching the
original Puppet Bolt docs.

Fixes OpenVoxProject#386

Signed-off-by: Michael Harp <mike@mikeharp.com>
@miharp miharp marked this pull request as ready for review July 2, 2026 10:27
@miharp miharp requested a review from a team as a code owner July 2, 2026 10:27
@op-ct

op-ct commented Jul 2, 2026

Copy link
Copy Markdown

FWIW, #387's implementation was specifically made (and tests) to not change the behavior of any nav item without a link: so it wouldn't affect any other items.

@miharp miharp closed this Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants