As a user of Codex, I want to be able to quickly find the page I want to go to
As a user of Codex, I want the option of searching for something instead of reading through the navigation menus
Search is critical for a documentation website, and we've already identified issues with not having it (see discussion on the component groups task). Search will be an important complement to navigation menus.
VitePress has two built-in options for search:
- In-browser search index with minisearch
- Algolia, a third-party service
Additionally, we should evaluate the default UI for search that VitePress offers, and consider which updates are worth making to improve it and make it follow our design system.
Acceptance criteria
- Determine which search engine to use
- Launch a basic implementation
- Document improvements to search results/search engine configuration
- Document improvements to search UI