Skip to content

Open menu items in same tab and remove installation menu point#1219

Merged
CsatariGergely merged 10 commits intokptdev:mainfrom
nokia:fix-backlinks
Mar 11, 2026
Merged

Open menu items in same tab and remove installation menu point#1219
CsatariGergely merged 10 commits intokptdev:mainfrom
nokia:fix-backlinks

Conversation

@CsatariGergely
Copy link
Contributor

@CsatariGergely CsatariGergely commented Feb 25, 2026

Opening back links in the same window

Some housekeeping changes:

  • Downgrade Go, Hugo and Docsy versions due to a bug in Netlify
  • Adding some parameters explicitly to the config file

Fixing a Hugo vs Docsy incompatibility error.

Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modifies the documentation site to open menu navigation links in the same browser tab instead of opening external links in new tabs. The changes include removing the target="_blank" attribute from navbar links, improving null-safety in Hugo templates by replacing isset checks with and patterns, and reorganizing the main menu structure.

Changes:

  • Removed conditional target="_blank" from navbar links so all menu items open in the same tab
  • Enhanced null-safety in sidebar template by replacing isset with and checks and adding defensive fallback logic
  • Removed "Installation" menu item and adjusted menu weights to maintain sequential ordering

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
documentation/layouts/partials/navbar.html Removes target="_blank" attribute to open all navbar links in same tab
documentation/layouts/partials/sidebar-tree.html Replaces isset with and pattern for null-safe property access and adds defensive variable extraction
documentation/config.toml Removes "Installation" menu item and reorders menu weights
documentation/content/en/_index.md Adjusts main menu weight from 40 to 30
documentation/go.mod Adds docsy theme as indirect dependency
documentation/Makefile Fixes missing trailing backslash for command continuation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
@CsatariGergely CsatariGergely changed the title Open menu items in same tab Open menu items in same tab and rmeove installation menu point Feb 25, 2026
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
@netlify
Copy link

netlify bot commented Feb 25, 2026

Deploy Preview for krm-function-catalog ready!

Name Link
🔨 Latest commit b68dd14
🔍 Latest deploy log https://app.netlify.com/projects/krm-function-catalog/deploys/69b1841dbf59c30008700755
😎 Deploy Preview https://deploy-preview-1219--krm-function-catalog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Due ot a bug in Netlify it ignored the HUGO_VERSION directive in the
config file what makes the deployment fail.

Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Netlify build environment seems to require the explicit definition of a set of
Docsy parameters.

Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
@CsatariGergely CsatariGergely changed the title Open menu items in same tab and rmeove installation menu point Open menu items in same tab and remove installation menu point Feb 25, 2026
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
Signed-off-by: Gergely Csatari <gergely.csatari@nokia.com>
@CsatariGergely CsatariGergely merged commit 6f1ac51 into kptdev:main Mar 11, 2026
11 checks passed
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.

4 participants