Files
gitbook/packages
Zeno 8340e16930 Fix search results linking to section anchors on title matches (RND-11916)
Use the API `resultType` on page search results to decide the link target:
page/title-level matches link to the top of the page, while section-level
matches keep their section anchor. The section snippet is still shown as a
preview. `resultType` is read defensively since it is not yet present in the
published `@gitbook/api` types.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-31 00:18:28 +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