Enable local search provider in VitePress documentation#33
Merged
Conversation
As the docs library grows, sidebar navigation alone isn't sufficient. VitePress's built-in MiniSearch provider adds full-text search with a Ctrl+K modal, zero external dependencies, and automatic indexing. https://claude.ai/code/session_01MCTjfZFEBUx2Gs7x4BJ9FE
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
This change enables the local search functionality in the VitePress documentation site by configuring the search provider in the theme configuration.
Key Changes
searchconfiguration object tothemeConfigin.vitepress/config.ts'local'to enable client-side search indexing and queryingImplementation Details
The local search provider allows users to search through documentation content without requiring external search services. This is a built-in VitePress feature that indexes pages at build time and provides search results on the client side.
https://claude.ai/code/session_01MCTjfZFEBUx2Gs7x4BJ9FE