feat(site): migrate search from Pagefind to Algolia DocSearch v4#941
Draft
feat(site): migrate search from Pagefind to Algolia DocSearch v4#941
Conversation
Replace Pagefind (build-time static search) with Algolia DocSearch v4 for two-index search (docs ranked by relevance, blog by recency), framework-aware filtering, and Ask AI support. - Remove Pagefind integration and dependencies - Add @docsearch/react@4 with indices and askAi props - Replace data-pagefind-* attributes with data-search-* equivalents - Theme DocSearch modal to match site design (light + dark) - Add search.config.ts for Algolia credentials and index names - Add algolia-crawler-config.md with full Dashboard setup guide - Update CLAUDE.md and README.md documentation Closes #938 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Deploy Preview for vjs10-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
📦 Bundle Size Report🎨 @videojs/html(no changes) Presets (7)
Media (4)
Players (3)
Skins (16)
UI Components (21)
Sizes are marginal over the root entry point. ⚛️ @videojs/react(no changes) Presets (7)
Media (3)
Skins (14)
UI Components (17)
Sizes are marginal over the root entry point. 🧩 @videojs/core(no changes) Entries (5)
🏷️ @videojs/element(no changes) Entries (2)
📦 @videojs/store(no changes) Entries (3)
🔧 @videojs/utils(no changes) Entries (10)
📦 @videojs/spf(no changes) Entries (3)
ℹ️ How to interpretAll sizes are standalone totals (minified + brotli).
Run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
videojs_docs(relevance-ranked, framework-filtered) andvideojs_blog(recency-ranked)videojs_docs-markdownindexalgolia-crawler-config.mdWhat's included
data-pagefind-*attributes@docsearch/react@4withindicesandaskAipropsdata-search-content/data-search-ignoreattributes (crawler config supports both old and new for backward compat)search.config.tsfor Algolia credentials and index namesBefore merging
PLACEHOLDER_ASSISTANT_IDinsearch.config.tsafter creating the Ask AI assistantdata-pagefind-*fallbacksTest plan
pnpm -F site buildpassespagefindreferences remain in site/ sourcedata-llms-*attributes unaffecteddatefield for recencyCloses #938
🤖 Generated with Claude Code