mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-22 02:23:30 +00:00
32ef4f6aed
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
Changesets
Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it in our repository
We have a quick list of common questions to get you started engaging with this project in our documentation