docs: fix broken anchor links and add migrate-rules to sidebar#2203
Merged
wan9chi merged 2 commits intoJul 20, 2026
Conversation
Correct four internal anchors that pointed at non-existent slugs: - /config/run#tasks -> #run-tasks - /guide/env#custom-nodejs-mirror -> #custom-node-js-mirror - /guide/env#nodejs-signature-verification -> #node-js-signature-verification Add the Migration Rules page to the guide sidebar (nested under Migrate), which was previously reachable only via an inline link.
✅ Deploy Preview for viteplus-preview canceled.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes four broken internal anchor links in the docs site and adds the previously-orphaned Migration Rules page to the guide sidebar. These surfaced during a proofreading pass over the documentation website.
Changes
Broken anchors — these links resolved to the correct page but silently failed to scroll to the target heading, because the anchor slugs didn't match VitePress's heading slugification (which collapses
.and other special characters to-):guide/github-actions-cache.md(2 links):/config/run#tasks→/config/run#run-tasks(heading is## run.tasks)guide/installer-env-vars.md:/guide/env#custom-nodejs-mirror→#custom-node-js-mirrorguide/installer-env-vars.md:/guide/env#nodejs-signature-verification→#node-js-signature-verificationNavigation:
/guide/migrate-rules) to the guide sidebar, nested under "Migrate to Vite+" (matching the existing Check → Lint/Format nesting). The page previously existed and was reachable only through an inline link inmigrate.md, with no sidebar entry.