Repository navigation
Put the APIs in the assembler navigation tree #4737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
70ac046
Mount floating sections in the table of contents
Mpdreamz d927819
Keep floating sections in site assembly and reject extra keys on api …
Mpdreamz 76b05ef
Fill floating sections after the navigation tree is built
Mpdreamz 33f7e71
Keep floating sections mounted by the narrative repository root
Mpdreamz c439ce8
Resolve floating sections in the build path
Mpdreamz 1a8af60
Mount API pages in the navigation of isolated builds
Mpdreamz f4251e1
Hide an API section when the build skips the API Explorer
Mpdreamz 3b5425f
Keep a failed or skipped API out of navigation and invalidate on --sk…
Mpdreamz 3845e5c
Report a failed API once and test the --skip-api cache invalidation
Mpdreamz 16af516
Publish API pages in links.json and resolve cross-links to them
Mpdreamz c363da2
Keep API link aliases per version and the anchor of floating links
Mpdreamz 4f4f8af
Test that API link aliases keep their target per version
Mpdreamz 1f80469
Say that API cross-links keep their fragment unchecked
Mpdreamz 5955bbd
State each version's root in links.json instead of deriving it
Mpdreamz 201628a
Let a page win over a version of the same name in floating links
Mpdreamz 06d12cb
Start every copy of a floating link section with fresh lookups
Mpdreamz c3a5fed
Put the APIs in the assembler navigation tree
Mpdreamz 2e2118c
Keep the API hub out of the sitemap, on its own tab and out of non-HT…
Mpdreamz 265c244
Test that a build without the HTML export lists no API links
Mpdreamz 358423d
Keep the APIs out of the previous and next links of the docs
Mpdreamz 7d99725
Merge main into feature/floating-assembler
Mpdreamz 545fff5
List floating among the valid navigation keys in the unknown key test
Mpdreamz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Severity: P3 (Low)
For a floating APIs section without
external:, the tab gets the hub URL but is still assignedSectionId: sectionNav.Idbelow. API pages and the catalog retain their own navigation roots, so that ID never matches; the header's URL-based active-state fallback also excludes links with a section ID. Consequently, the newly supported tab never becomes active on its own pages. Leave the section ID unset for floating hubs or otherwise associate the rendered API roots with the tab, and cover active-state matching in the test.Generated by Libra. React with 👍 or 👎 to give feedback on this comment.