Add client-side full-text search for all doc pages #63
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The navbar search container is empty — no search plugin is configured. 450+ doc pages (API, CLI, REST API, pipelines, DAG) are not searchable. The empty
navbarSearchContainer_Bca1div renders nothing.Fix
Install
@easyops-cn/docusaurus-search-local— a client-side Lunr-based search that indexes at build time. No external service needed.Steps:
cd docs && npm install @easyops-cn/docusaurus-search-localdocusaurus.config.jsthemes array:Why not Algolia?
Files
docs/package.jsondocs/docusaurus.config.js