diff --git a/docs/default-theme-config/README.md b/docs/default-theme-config/README.md index 1eb86b10da..1703e3cd06 100644 --- a/docs/default-theme-config/README.md +++ b/docs/default-theme-config/README.md @@ -333,7 +333,7 @@ module.exports = { ``` ::: warning Note -Unlike the built-in VuePress search engine which works out of the box, [Algolia DocSearch](https://community.algolia.com/docsearch/) requires you to submit your site to them for indexing before it starts working. +Unlike the [built-in search](#built-in-search) engine which works out of the box, [Algolia DocSearch](https://community.algolia.com/docsearch/) requires you to submit your site to them for indexing before it starts working. ::: For more options, refer to [Algolia DocSearch's documentation](https://github.com/algolia/docsearch#docsearch-options). diff --git a/docs/zh/default-theme-config/README.md b/docs/zh/default-theme-config/README.md index 7b5b8338fe..8ce95d1a55 100644 --- a/docs/zh/default-theme-config/README.md +++ b/docs/zh/default-theme-config/README.md @@ -314,7 +314,7 @@ module.exports = { ### Algolia 搜索 -你可以通过 `themeConfig.algolia` 选项来用 [Algolia DocSearch](https://community.algolia.com/docsearch/) 替换内置的搜索框。要启用 Algolia 搜索,你需要至少提供 `apiKey` 和 `indexName`: +你可以通过 `themeConfig.algolia` 选项来用 [Algolia 搜索](https://community.algolia.com/docsearch/) 替换内置的搜索框。要启用 Algolia 搜索,你需要至少提供 `apiKey` 和 `indexName`: ```js module.exports = { @@ -327,6 +327,10 @@ module.exports = { } ``` +::: warning 注意 +不同于开箱即用的 [内置搜索](#内置搜索),[Algolia 搜索](https://community.algolia.com/docsearch/) 需要你在使用之前将你的网站提交给它们用于创建索引。 +::: + 更多选项请参考 [Algolia DocSearch 的文档](https://github.com/algolia/docsearch#docsearch-options)。 ## 最后更新时间