Files
gitbook/packages
Claude 32ef4f6aed Fix search results linking to section anchors on title matches
Search results that match a page title now link to the top of the page
instead of a mid-page section anchor. Section-level matches keep their
heading anchor.

Adds a pure `isPageTitleMatch` helper (mirroring the substring title
notion in reciprocalRankFusion) and uses it in SearchPageResultItem to
choose the link target. Recovers the approach from the previously-closed
draft PR #4434 for RND-11916.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B1rctbY7mEtGP1ZwVowxoE
2026-07-29 00:14:48 +00:00
..
2025-10-15 13:30:24 +02:00
2026-07-06 12:52:44 +00:00
2026-05-19 13:24:41 +02:00