Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 812 Bytes

theme-search-algolia.md

File metadata and controls

20 lines (14 loc) · 812 Bytes
sidebar_position id title slug
4
theme-search-algolia
📦 theme-search-algolia
/api/themes/@docusaurus/theme-search-algolia

This theme provides a @theme/SearchBar component that integrates with Algolia DocSearch easily. Combined with @docusaurus/theme-classic, it provides a very easy search integration. You can read more on search documentation.

npm install --save @docusaurus/theme-search-algolia

This theme also adds search page available at /search (as swizzlable SearchPage component) path with OpenSearch support. You can change this default path via themeConfig.algolia.searchPagePath. Use false to disable search page.

:::tip

If you have installed @docusaurus/preset-classic, you don't need to install it as a dependency.

:::