跳转至主内容
Version: 2.0.0-beta.21 🚧

📦 theme-search-algolia

此主题提供集成了 Algolia DocSearch 的 @theme/SearchBar 组件。 它与 @docusaurus/theme-classic 一齐提供简单的搜索集成。 您可在搜索文档上了解详情。

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 this default path via themeConfig.algolia.searchPagePath. Use false to disable search page.

tip

若您已安装 @docusaurus/preset-classic,则无需安装此依赖。