diff --git a/website/docs/search.md b/website/docs/search.md index d2e33f4d84..ce97f9ca7e 100644 --- a/website/docs/search.md +++ b/website/docs/search.md @@ -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 diff --git a/website/versioned_docs/version-2.0.0-alpha.40/search.md b/website/versioned_docs/version-2.0.0-alpha.40/search.md index b9a89d1da8..944c469db5 100644 --- a/website/versioned_docs/version-2.0.0-alpha.40/search.md +++ b/website/versioned_docs/version-2.0.0-alpha.40/search.md @@ -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 diff --git a/website/versioned_docs/version-2.0.0-alpha.43/search.md b/website/versioned_docs/version-2.0.0-alpha.43/search.md index f8048edfe5..2358fff6f5 100644 --- a/website/versioned_docs/version-2.0.0-alpha.43/search.md +++ b/website/versioned_docs/version-2.0.0-alpha.43/search.md @@ -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 diff --git a/website/versioned_docs/version-2.0.0-alpha.48/search.md b/website/versioned_docs/version-2.0.0-alpha.48/search.md index d2e33f4d84..ce97f9ca7e 100644 --- a/website/versioned_docs/version-2.0.0-alpha.48/search.md +++ b/website/versioned_docs/version-2.0.0-alpha.48/search.md @@ -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