Commit b88cbe7
docs: fix broken anchor links and add migrate-rules to sidebar (#2203)
## 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-mirror`
- `guide/installer-env-vars.md`:
`/guide/env#nodejs-signature-verification` →
`#node-js-signature-verification`
**Navigation:**
- Added "Migration Rules" (`/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 in `migrate.md`, with no sidebar entry.
Co-authored-by: Charles Wang <3612422+wan9chi@users.noreply.github.com>1 parent ae97a85 commit b88cbe7
3 files changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
0 commit comments