mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-28 19:21:03 +08:00
chore(docs): bump vp-dynamic-nav to preserve page on version switch (#28136)
* chore(docs): bump vp-dynamic-nav to 0.1.0 for version-switcher path preservation Switching versions in the navbar previously always sent the reader to the target version's front page, losing their place. vp-dynamic-nav 0.1.0 adds an opt-in "preservePath" flag that rewrites same-origin nav links to the equivalent page on the target version instead of its root. Opt in the Version group via navbar.json. Depends on hamishwillee/vp-dynamic-nav (branch pr_version_switcher) being merged and 0.1.0 published to npm — yarn.lock still pins 0.0.3 and needs `yarn install` rerun once the new version is available. Assisted-by: Claude:claude-sonnet-5 Signed-off-by: Hamish Willee <hamishwillee@gmail.com> * docs(docs): update yarn lockfile --------- Signed-off-by: Hamish Willee <hamishwillee@gmail.com>
This commit is contained in:
1 parent
9f4bc80006
commit
31455928b8
3 files changed
+6
-5
No files matched your search
@@ -14,6 +14,7 @@
|
||||
{ "text": "Support", "link": "https://docs.px4.io/main/en/contribute/support.html" },
|
||||
{
|
||||
"text": "Version",
|
||||
"preservePath": true,
|
||||
"items": [
|
||||
{ "text": "main", "link": "https://docs.px4.io/main/en/" },
|
||||
{ "text": "v1.17 (stable)", "link": "https://docs.px4.io/v1.17/en/" },
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@
|
||||
"medium-zoom": "^1.1.0",
|
||||
"open-editor": "^5.0.0",
|
||||
"vitepress": "^1.6.3",
|
||||
"vp-dynamic-nav": "0.0.3",
|
||||
"vp-dynamic-nav": "0.1.0",
|
||||
"vue3-tabs-component": "^1.3.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
+4
-4
@@ -1785,10 +1785,10 @@ vitepress@^1.6.3:
|
||||
vite "^5.4.14"
|
||||
vue "^3.5.13"
|
||||
|
||||
vp-dynamic-nav@0.0.3:
|
||||
version "0.0.3"
|
||||
resolved "https://registry.npmjs.org/vp-dynamic-nav/-/vp-dynamic-nav-0.0.3.tgz"
|
||||
integrity sha512-qkDeki7TA21bhA12uiR0kEWZHVqeFusza3/XsGjD75Ht6qUoDOS/+YrCPyw9+6Zm+5/BvzK7j0jpDXPwW20m3g==
|
||||
vp-dynamic-nav@0.1.0:
|
||||
version "0.1.0"
|
||||
resolved "https://registry.yarnpkg.com/vp-dynamic-nav/-/vp-dynamic-nav-0.1.0.tgz#7f0136edfe2c7d2eaa0e8a75b99d8dd5b409e7c5"
|
||||
integrity sha512-AXGT1uYpjngEqtRSVWsJu/8O08uxqyYb84glF31w3ozTlp1TiBWVLELCPKIhj0ukX/x6J7lfaQNDS2R/8DNO9Q==
|
||||
|
||||
vue3-tabs-component@^1.3.7:
|
||||
version "1.3.7"
|
||||
|
||||
Reference in new issue
Block a user