mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-19 03:57:01 +02:00
* stable refactor of plugins api documentation * plugins sidebar not collapsed by default as small? * theme docs reorg * Refactor migration guide doc * fix broken link
19 lines
682 B
Markdown
19 lines
682 B
Markdown
---
|
|
id: theme-search-algolia
|
|
title: '📦 theme-search-algolia'
|
|
slug: '/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](../../search.md) documentation.
|
|
|
|
```bash npm2yarn
|
|
npm install --save @docusaurus/theme-search-algolia
|
|
```
|
|
|
|
This theme also adds search page available at `/search` (as swizzleable `SearchPage` component) path with OpenSearch support.
|
|
|
|
:::tip
|
|
|
|
If you have installed `@docusaurus/preset-classic`, you don't need to install it as a dependency.
|
|
|
|
:::
|