Skip to content

feat(navbar): add navbarPreservePath option - #2780

Open
sy-records wants to merge 1 commit into
docsifyjs:developfrom
sy-records:feat/navbar
Open

feat(navbar): add navbarPreservePath option#2780
sy-records wants to merge 1 commit into
docsifyjs:developfrom
sy-records:feat/navbar

Conversation

@sy-records

Copy link
Copy Markdown
Member

Summary

add navbarPreservePath option to maintain current document path in language links

Related issue, if any:

Fixes #1220

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

For any code change,

  • Related documentation has been updated, if needed
  • Related tests have been added or updated, if needed

Does this PR introduce a breaking change?

  • Yes
  • No

Tested in the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge

@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

@sy-records is attempting to deploy a commit to the Docsify Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docsify-preview Ready Ready Preview Aug 7, 2026 2:39am

@paulhibbitts paulhibbitts left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a really nice refinement for the user flow of switching to another langage @sy-records ! Tested the PR Preview Build from multiple pages and all worked as expected so far.

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.

Switch to exact document if it exists in another language

2 participants