Skip to content

docs: Fix same-page anchor links that don't scroll to target#11989

Merged
anthonyshew merged 1 commit intomainfrom
docs/fix-same-page-anchor-links
Feb 24, 2026
Merged

docs: Fix same-page anchor links that don't scroll to target#11989
anthonyshew merged 1 commit intomainfrom
docs/fix-same-page-anchor-links

Conversation

@anthonyshew
Copy link
Copy Markdown
Contributor

Summary

  • Same-page anchor links using full paths (e.g. /docs/crafting-your-repository/caching#task-inputs) don't scroll to the target element — the client-side router updates the URL hash but skips native scroll-to-anchor behavior.
  • Changed 6 links across 5 docs pages to use fragment-only anchors (e.g. #task-inputs), which bypass the router and let the browser handle scrolling natively.

@anthonyshew anthonyshew requested a review from a team as a code owner February 24, 2026 21:49
@anthonyshew anthonyshew requested review from tknickman and removed request for a team February 24, 2026 21:49
@vercel vercel Bot temporarily deployed to Preview – turborepo-test-coverage February 24, 2026 21:50 Inactive
@anthonyshew anthonyshew merged commit b1d5ec2 into main Feb 24, 2026
41 checks passed
@anthonyshew anthonyshew deleted the docs/fix-same-page-anchor-links branch February 24, 2026 21:57
anthonyshew added a commit that referenced this pull request Feb 25, 2026
## Release v2.8.11-canary.28

> [!NOTE]
> This release PR was created manually because the [automated release
workflow
failed](https://github.com/vercel/turborepo/actions/runs/22396672874/job/64834751381)
during the "Create Release PR" step. The npm packages were already
published successfully.

### Changes

- release(turborepo): 2.8.11-canary.27 (#11975) (`09e2557`)
- chore: Move git hooks from pre-commit to pre-push and match CI lint
checks (#11977) (`68928c0`)
- chore: Update AGENTS.md (#11978) (`3887e0d`)
- fix: Use correct pnpm version in library release workflow (#11979)
(`716229d`)
- fix: Fix library release workflow for Trusted Publishing OIDC (#11980)
(`f2b57af`)
- fix: Use repo setup-node action in library release package job
(#11981) (`c8d6fd8`)
- fix: Add repository field to @turbo/repository package.json (#11982)
(`2865110`)
- perf: Replace heap-allocated String with stack-allocated OidHash for
git OIDs (#11984) (`24e1937`)
- perf: Eliminate redundant syscalls in FSCache fetch and exists
(#11985) (`ba1e3bb`)
- release(library): 0.0.1-canary.19 (#11983) (`a5bc714`)
- perf: Reduce per-task allocations in visitor dispatch loop (#11986)
(`53b2b4f`)
- docs: Fix same-page anchor links that don't scroll to target (#11989)
(`b1d5ec2`)
- docs: Mention inputs key in package hash inputs table (#11990)
(`6bc216b`)
- fix(docs): update sitemap.md to single-line pipe-delimited format
(#11976) (`fd15d24`)
- fix: Disable husky pre-push hook during release staging (#11991)
(`2365307`)
- fix: Disable husky pre-push hook in release workflow (#11992)
(`71ca25c`)
github-actions Bot added a commit that referenced this pull request Feb 25, 2026
## Release v2.8.11-canary.29

Versioned docs: https://v2-8-11-canary-29.turborepo.dev

### Changes

- release(turborepo): 2.8.11-canary.27 (#11975) (`09e2557`)
- chore: Move git hooks from pre-commit to pre-push and match CI lint
checks (#11977) (`68928c0`)
- chore: Update AGENTS.md (#11978) (`3887e0d`)
- fix: Use correct pnpm version in library release workflow (#11979)
(`716229d`)
- fix: Fix library release workflow for Trusted Publishing OIDC (#11980)
(`f2b57af`)
- fix: Use repo setup-node action in library release package job
(#11981) (`c8d6fd8`)
- fix: Add repository field to @turbo/repository package.json (#11982)
(`2865110`)
- perf: Replace heap-allocated String with stack-allocated OidHash for
git OIDs (#11984) (`24e1937`)
- perf: Eliminate redundant syscalls in FSCache fetch and exists
(#11985) (`ba1e3bb`)
- release(library): 0.0.1-canary.19 (#11983) (`a5bc714`)
- perf: Reduce per-task allocations in visitor dispatch loop (#11986)
(`53b2b4f`)
- docs: Fix same-page anchor links that don't scroll to target (#11989)
(`b1d5ec2`)
- docs: Mention inputs key in package hash inputs table (#11990)
(`6bc216b`)
- fix(docs): update sitemap.md to single-line pipe-delimited format
(#11976) (`fd15d24`)
- fix: Disable husky pre-push hook during release staging (#11991)
(`2365307`)
- fix: Disable husky pre-push hook in release workflow (#11992)
(`71ca25c`)
- release(turborepo): 2.8.11-canary.28 (#11993) (`5793b0a`)
- fix: Use versioned schema URLs in Turborepo skill files (#11994)
(`7e48e24`)

---------

Co-authored-by: Turbobot <turbobot@vercel.com>
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.

1 participant