Skip to content

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Jul 29, 2025

Updates the RootNavigation on MarkdownFile during assembler builds.

For documentation sets where the root is a phantom the old logic to grab the root could yield bad results because those phantom roots are not part of the navigation.

Now all file's in the navigation are explicitly re-rooted during composition.

Further more we now fail the assembler build if a MarkdownFile want's the render a navigation from a content root that is not really a top level item.

This should prevent this from happening again.

@Mpdreamz Mpdreamz requested a review from a team as a code owner July 29, 2025 17:52
@Mpdreamz Mpdreamz added the fix label Jul 29, 2025
@Mpdreamz Mpdreamz self-assigned this Jul 29, 2025
@Mpdreamz Mpdreamz enabled auto-merge (squash) July 29, 2025 17:59
@Mpdreamz Mpdreamz merged commit 891db7c into main Jul 29, 2025
17 checks passed
@Mpdreamz Mpdreamz deleted the fix/root-navigation-on-markdownfile branch July 29, 2025 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants