Skip to content

chore: upgrade DocSearch to v5 - #276

Merged
limonte merged 1 commit into
mainfrom
chore/docsearch-v5
Sep 30, 2026
Merged

limonte merged 1 commit into
mainfrom
chore/docsearch-v5

Conversation

@limonte

@limonte limonte commented Sep 30, 2026

Copy link
Copy Markdown
Member

Summary

  • Upgrade @docsearch/css and @docsearch/js from 4.7.0 to 5.1.1.
  • Keep keyword search only: import @docsearch/js/docsearch and pass indices: ['sweetalert2'], since v5 removed indexName from that entry.
  • Drop the search-button shadow that referenced --docsearch-searchbox-shadow, which v5 no longer defines.

Test plan

  • Typecheck passes.
  • On the homepage and recipe gallery, desktop and mobile, the search button opens, a "toast" query returns hits, and Escape closes the modal.

Keyword search now uses @docsearch/js/docsearch and indices, since v5 removed indexName from that entry.
@limonte
limonte merged commit 6f45c8d into main Sep 30, 2026
1 check failed
@limonte
limonte deleted the chore/docsearch-v5 branch September 30, 2026 10:44
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