Skip to content

feat: highlight selected sidebar item and auto-expand it's section#43

Merged
yeoldegrove merged 1 commit intomainfrom
feat/highlight_sidebar
Apr 16, 2026
Merged

feat: highlight selected sidebar item and auto-expand it's section#43
yeoldegrove merged 1 commit intomainfrom
feat/highlight_sidebar

Conversation

@yeoldegrove
Copy link
Copy Markdown
Contributor

@yeoldegrove yeoldegrove commented Apr 16, 2026

What this PR does / why we need it:

  • feat: highlight selected sidebar item and auto-expand it's section
image

Which issue(s) this PR fixes:
Fixes gardenlinux/gardenlinux#4639

@yeoldegrove yeoldegrove added this to the 2026-04 milestone Apr 16, 2026
@yeoldegrove yeoldegrove requested a review from ByteOtter April 16, 2026 07:56
@yeoldegrove yeoldegrove self-assigned this Apr 16, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 16, 2026

Deploy Preview for gardenlinux-docs ready!

Name Link
🔨 Latest commit 74a0fca
🔍 Latest deploy log https://app.netlify.com/projects/gardenlinux-docs/deploys/69e0e1f22c6f210008e86490
😎 Deploy Preview https://deploy-preview-43--gardenlinux-docs.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.

@ByteOtter
Copy link
Copy Markdown
Collaborator

Hmm does not highlight the section index entry when going with the nav dropdown. Does vitepress support this or are these two actions not linkable?

@yeoldegrove yeoldegrove force-pushed the feat/highlight_sidebar branch 2 times, most recently from 56e11fc to 1f62fec Compare April 16, 2026 12:59
@yeoldegrove
Copy link
Copy Markdown
Contributor Author

Hmm does not highlight the section index entry when going with the nav dropdown. Does vitepress support this or are these two actions not linkable?

@ByteOtter Fixed it and now the index pages also have green highlighting!

@yeoldegrove
Copy link
Copy Markdown
Contributor Author

image

@yeoldegrove yeoldegrove force-pushed the feat/highlight_sidebar branch from 1f62fec to 735954f Compare April 16, 2026 13:17
@yeoldegrove yeoldegrove force-pushed the feat/highlight_sidebar branch from 735954f to 74a0fca Compare April 16, 2026 13:19
@yeoldegrove yeoldegrove merged commit bbd75e8 into main Apr 16, 2026
7 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.

[Docs Hub] show where you are in sidebar

2 participants