fix(nav): hide shared-content installation section from sidebar#1951
Open
Reshrahim wants to merge 7 commits into
Open
fix(nav): hide shared-content installation section from sidebar#1951Reshrahim wants to merge 7 commits into
Reshrahim wants to merge 7 commits into
Conversation
The shared-content directory is mounted into Hugo's content, causing the include-only installation snippets to render as an 'Installations' section in the sidebar navigation. Add an _index.md with _build render/list never plus cascade so the section and its children are excluded from rendering and navigation. The read shortcode reads files directly from disk, so all existing includes continue to work. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e412b758-7998-4133-ab00-e904a086f732
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Static Web App Preview
Deployed from commit |
Reshrahim
commented
Jul 10, 2026
Reshrahim
commented
Jul 10, 2026
Reshrahim
commented
Jul 10, 2026
Reshrahim
commented
Jul 10, 2026
Co-authored-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> Signed-off-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com>
Reshrahim
commented
Jul 10, 2026
Co-authored-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com> Signed-off-by: Reshma Abdul Rahim <61033581+Reshrahim@users.noreply.github.com>
The _build front matter key was removed in Hugo 0.145.0; the CI uses hugo-extended 0.161.1, so switch to the build key (with cascade) to keep the installation shared-content section hidden from rendering and nav. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e412b758-7998-4133-ab00-e904a086f732 Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com>
…ation Radius core now ships Radius.Data/postgreSqlDatabases in the built-in radius extension, which collided with the tutorial's radiusResources extension (BCP264). Remove the redundant radiusResources import from the snippet and update the prose accordingly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: e412b758-7998-4133-ab00-e904a086f732 Signed-off-by: Reshma Abdul Rahim <reshmarahim.abdul@microsoft.com>
willtsai
approved these changes
Jul 10, 2026
DariuszPorowski
requested changes
Jul 11, 2026
DariuszPorowski
left a comment
Member
There was a problem hiding this comment.
@Reshrahim I think you should choose edge branch as target
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
The
shared-content/directory is mounted into Hugo'scontent(seeconfig.toml), which caused the include-only snippets inshared-content/installation/to be rendered as pages and surfaced as an "Installations" section in the sidebar navigation.Change
Added
shared-content/installation/_index.mdwith_build: { list: never, render: never }plus acascadeso the section and all its descendants are excluded from rendering and the nav.Because the
readshortcode reads files directly from disk (readFile), all existing{{< read >}}includes continue to work.Verification
hugo serverlocally: the "Installations" nav item no longer appears.{{< read >}}fromshared-content/installation/(e.g. Install rad CLI) still render their included content.