Skip to content

v5: Replace Algolia DocSearch with Pagefind - #43314

Merged
mdo merged 2 commits into
v5-devfrom
codex/v5-pagefind
Nov 9, 2026
Merged

mdo merged 2 commits into
v5-devfrom
codex/v5-pagefind

Conversation

@mdo

@mdo mdo commented Nov 7, 2026

Copy link
Copy Markdown
Member

DocSearch is dropping v5 docs pages when it follows a URL without a trailing slash. The server adds the slash with a 301, but the redirect points to HTTP, so Algolia's HTTPS-only crawler config refuses it and skips the page.

Ports the Pagefind setup from #42369 to v5 using Bootstrap 5's modal. The index builds with the docs and lives under /docs/5.3/pagefind/, so v5 and v6 can each serve their own index.

I'd like to ship v5.3.9 after this merges so we can get search working again on the live v5 docs.

Build and serve the v5 search index with the docs so search results
come from the deployed pages. Port the v6 search experience to the v5
modal and give its index a versioned path to coexist with v6.
@mdo
mdo requested review from a team as code owners November 7, 2026 06:00
@mdo
mdo requested a review from julien-deramond November 7, 2026 06:00
@netlify

netlify Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for twbs-bootstrap ready!

Name Link
🔨 Latest commit 34489ff
🔍 Latest deploy log https://app.netlify.com/projects/twbs-bootstrap/deploys/6af224216534700a8cbad80b
😎 Deploy Preview https://deploy-preview-43314--twbs-bootstrap.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@julien-deramond julien-deramond added v5 v5, the v5-dev branch docs Documentation site and its content labels Nov 7, 2026
Add search and ARIA terms used by the docs search script.
@mdo
mdo merged commit 565d365 into v5-dev Nov 9, 2026
14 of 15 checks passed
@mdo
mdo deleted the codex/v5-pagefind branch November 9, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation site and its content v5 v5, the v5-dev branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants