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
Group nav sections per source file, not across all of them (#119)
* Group nav sections per source file, not across all of them
Concatenating every navigation block's items before grouping (added to fix
comment-induced splits within one file) also merged blocks from different
nav: files in antora.yml. A module's real nested section landing right after
another module's flat "* *Heading*" bullet got silently absorbed as that
heading's child instead of staying its own top-level item, stripping it of
promotion. Blocks are now grouped by Math.floor(order), which build-navigation.js
sets to the originating file's index, so file boundaries reset section
grouping while comment splits within one file still merge as before.
Reproduced against docs-playbook (10-module antora.yml with page-tabs-promote-all):
the ci module's three sections were being swallowed into docs-restructure's
last section (11 children instead of 2), now correctly stay separate,
promoted top-level items.
* patch version
Copy file name to clipboardExpand all lines: extensions/antora/tabbed-nav/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@neo4j-antora/tabbed-nav",
3
-
"version": "0.3.3",
3
+
"version": "0.3.4",
4
4
"description": "Antora extension, Express middleware, S3 aggregator, and turnkey dev server for tabbed cross-docset navigation across Neo4j docs repos.",
0 commit comments