feat(search): add full text search support via pagefind #1
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.
This pull request introduces Pagefind-powered full-text search to the documentation site, integrating it into the command dialog for a seamless search experience. The implementation includes lazy-loading the Pagefind library, updating the build process, and enhancing accessibility and search metadata. Additional CSS and markup changes ensure the search dialog is visually integrated and results are clearly presented.
Pagefind Search Integration
assets/pagefind-search.jsscript to lazy-load Pagefind and render search results in the command dialog, including debounced input handling and error states._includes/partials/docs/header.njkto support Pagefind search by passing adata-pagefind-searchattribute._includes/layouts/base.njk).package.jsonto run Pagefind indexing, and addedpagefindas a dev dependency. [1] [2]Search Metadata and Accessibility
data-pagefind-body,data-pagefind-meta, anddata-pagefind-ignoreto optimize search indexing and results. [1] [2] [3]Styling for Search Dialog and Results
assets/styles.cssandsrc/css/custom.cssto style the search dialog, results, highlights, and various states (empty, loading, error), including new color variables and container sizes. [1] [2] [3] [4] [5] [6]Full text search dialog

How it works
