docs(config): DocSearch upgrade to v3 configuration

pull/564/head
Travis 4 years ago
parent 0c31bbac85
commit 12b74cc47b

@ -1,11 +1,12 @@
# Theme Config: Algolia Search
The `themeConfig.algolia` option allows you to use [Algolia DocSearch](https://docsearch.algolia.com). To enable it, you need to provide at least apiKey and indexName:
The `themeConfig.algolia` option allows you to use [Algolia DocSearch](https://docsearch.algolia.com). To enable it, you need to provide at least apiId, apiKey and indexName:
```js
module.exports = {
themeConfig: {
algolia: {
apiId: 'your_api_id',
apiKey: 'your_api_key',
indexName: 'index_name'
}
@ -19,6 +20,7 @@ For more options, check out [Algolia DocSearch's documentation](https://docsearc
module.exports = {
themeConfig: {
algolia: {
apiId: 'your_api_id',
apiKey: 'your_api_key',
indexName: 'index_name',
searchParameters: {

Loading…
Cancel
Save