mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
docs(v2): include appId key for Algolia (#2413)
* Update Algolia information appId is needed for self-hosted Docsearch * Update Algolia Information https://github.com/facebook/docusaurus/pull/2413 * Update Algolia Information for alpha.40 * Update search.md Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
This commit is contained in:
parent
12b9be18f7
commit
99943a6041
4 changed files with 8 additions and 4 deletions
|
@ -18,11 +18,12 @@ Algolia DocSearch works by crawling the content of your website every 24 hours a
|
|||
|
||||
To connect your docs with Algolia, add an `algolia` field in your `themeConfig`. Note that you will need algolia API key and algolia index. You can [apply for DocSearch here](https://community.algolia.com/docsearch/).
|
||||
|
||||
```jsx {4-8}
|
||||
```jsx {4-9}
|
||||
// docusaurus.config.js
|
||||
themeConfig: {
|
||||
// ....
|
||||
algolia: {
|
||||
appId: 'app-id',
|
||||
apiKey: 'api-key',
|
||||
indexName: 'index-name',
|
||||
algoliaOptions: {}, // Optional, if provided by Algolia
|
||||
|
|
|
@ -18,11 +18,12 @@ Algolia DocSearch works by crawling the content of your website every 24 hours a
|
|||
|
||||
To connect your docs with Algolia, add an `algolia` field in your `themeConfig`. Note that you will need algolia API key and algolia index. You can [apply for DocSearch here](https://community.algolia.com/docsearch/).
|
||||
|
||||
```jsx {4-8}
|
||||
```jsx {4-9}
|
||||
// docusaurus.config.js
|
||||
themeConfig: {
|
||||
// ....
|
||||
algolia: {
|
||||
appId: 'app-id',
|
||||
apiKey: 'api-key',
|
||||
indexName: 'index-name',
|
||||
algoliaOptions: {}, // Optional, if provided by Algolia
|
||||
|
|
|
@ -18,11 +18,12 @@ Algolia DocSearch works by crawling the content of your website every 24 hours a
|
|||
|
||||
To connect your docs with Algolia, add an `algolia` field in your `themeConfig`. Note that you will need algolia API key and algolia index. You can [apply for DocSearch here](https://community.algolia.com/docsearch/).
|
||||
|
||||
```jsx {4-8}
|
||||
```jsx {4-9}
|
||||
// docusaurus.config.js
|
||||
themeConfig: {
|
||||
// ....
|
||||
algolia: {
|
||||
appId: 'app-id',
|
||||
apiKey: 'api-key',
|
||||
indexName: 'index-name',
|
||||
algoliaOptions: {}, // Optional, if provided by Algolia
|
||||
|
|
|
@ -18,11 +18,12 @@ Algolia DocSearch works by crawling the content of your website every 24 hours a
|
|||
|
||||
To connect your docs with Algolia, add an `algolia` field in your `themeConfig`. Note that you will need algolia API key and algolia index. You can [apply for DocSearch here](https://community.algolia.com/docsearch/).
|
||||
|
||||
```jsx {4-8}
|
||||
```jsx {4-9}
|
||||
// docusaurus.config.js
|
||||
themeConfig: {
|
||||
// ....
|
||||
algolia: {
|
||||
appId: 'app-id',
|
||||
apiKey: 'api-key',
|
||||
indexName: 'index-name',
|
||||
algoliaOptions: {}, // Optional, if provided by Algolia
|
||||
|
|
Loading…
Add table
Reference in a new issue