mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-20 19:47:52 +02:00
* chore: Add cSpell for spell checking * chore: exclude map files and remove dups * chore: exclude more binary files * chore: remove MD headings * Update .cspell.json * fix a few spellings * fix more * fix Signed-off-by: Joshua Chen <sidachen2003@gmail.com> * fix a few * oops Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
20 lines
701 B
Markdown
20 lines
701 B
Markdown
---
|
|
sidebar_position: 4
|
|
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 swizzlable `SearchPage` component) path with OpenSearch support.
|
|
|
|
:::tip
|
|
|
|
If you have installed `@docusaurus/preset-classic`, you don't need to install it as a dependency.
|
|
|
|
:::
|