feat: enable VitePress local search#82
Merged
Merged
Conversation
Closed
Contributor
Author
|
Trimmed the PR body: removed the narrative "## Why" paragraph since this is a 3-line config flag flip. Per the agent's no-justification-paragraphs-for-simple-changes rule, small self-evident changes don't need a rationale section beyond the issue link. Kept Summary, Closes #73, Verification, and Reviewer quickstart. |
Contributor
Author
There was a problem hiding this comment.
Self-authored PR — can't self-approve, but verified locally: npm run docs:build succeeds in ~6s and the dist output contains VPLocalSearchBox.*.js and @localSearchIndexroot.*.js chunks, confirming the local index is generated. Diff is a minimal 3-line config flag flip with no runtime/security concerns and no external service. Ready for a human approval and merge.
rubenhensen
approved these changes
May 13, 2026
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
docs/.vitepress/config.mts.Why
Closes #73. The docs site had no search; users had to rely on the sidebar or browser find-in-page.
Verification
npm run docs:buildsucceeds (~6s).VPLocalSearchBox.*.jsand@localSearchIndexroot.*.js, confirming the index is generated.Reviewer quickstart
Then open the docs and click the search icon (or press
/) in the navbar.