DocSearch
DocSearch is designed for documentation sites that qualify for Algolia DocSearch crawling.
Purpose
DocSearch is designed for documentation sites that qualify for Algolia DocSearch crawling.
Install
npm install @docsearch/jspnpm add @docsearch/jsyarn add @docsearch/jsTheme configuration
search:
enable: true
type: docsearchHexo configuration
search:
path: search.xml
field: post
content: trueVerify
- Generate the site and confirm the search index file exists.
- Search for a post title, a tag, and a phrase from the article body.
- Confirm private drafts are not included in the generated index.
