Skip to content

Commit 6d3f3d3

Browse files
shortcutsmeteorlxy
andauthored
docs: mention Algolia appId option in config snippet (#2957)
* docs: mention Algolia `appId` option in config snippet * Update default-theme-config.md Co-authored-by: meteorlxy <[email protected]>
1 parent aef643d commit 6d3f3d3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/docs/docs/theme/default-theme-config.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,8 @@ module.exports = {
394394
algolia: {
395395
apiKey: '<API_KEY>',
396396
indexName: '<INDEX_NAME>'
397+
// If Algolia did not provided you any `appId`, use `BH4D9OD16A` or remove this option
398+
appId: '<APP_ID>',
397399
}
398400
}
399401
}

packages/docs/docs/zh/theme/default-theme-config.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,8 @@ module.exports = {
386386
algolia: {
387387
apiKey: '<API_KEY>',
388388
indexName: '<INDEX_NAME>'
389+
// 如果 Algolia 没有为你提供 `appId` ,使用 `BH4D9OD16A` 或者移除该配置项
390+
appId: '<APP_ID>',
389391
}
390392
}
391393
}

0 commit comments

Comments
 (0)