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:
Theodore Chu 2020-03-17 02:25:48 -07:00 committed by GitHub
parent 12b9be18f7
commit 99943a6041
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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