Skip to content

feat(navbar): add navbarPreservePath option - #2780

Merged
sy-records merged 1 commit into
docsifyjs:developfrom
sy-records:feat/navbar
Sep 5, 2026
Merged

sy-records merged 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 28, 2026 2:12am

@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.

@sy-records
sy-records merged commit 879f02e into docsifyjs:develop Sep 5, 2026
8 checks passed
@sy-records
sy-records deleted the feat/navbar branch September 5, 2026 01:56
@sy-records sy-records mentioned this pull request Oct 28, 2026

This branch was successfully deployed

1 active deployment
Preview — d63c99a2 Deployed Aug 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants