Skip to content

Commit 9b4b9ba

Browse files
committed
docs($cn): update (#634)
1 parent 58775ef commit 9b4b9ba

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/default-theme-config/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ module.exports = {
333333
```
334334

335335
::: warning Note
336-
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.
336+
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.
337337
:::
338338

339339
For more options, refer to [Algolia DocSearch's documentation](https://github.com/algolia/docsearch#docsearch-options).

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ module.exports = {
314314

315315
### Algolia 搜索
316316

317-
你可以通过 `themeConfig.algolia` 选项来用 [Algolia DocSearch](https://community.algolia.com/docsearch/) 替换内置的搜索框。要启用 Algolia 搜索,你需要至少提供 `apiKey``indexName`
317+
你可以通过 `themeConfig.algolia` 选项来用 [Algolia 搜索](https://community.algolia.com/docsearch/) 替换内置的搜索框。要启用 Algolia 搜索,你需要至少提供 `apiKey``indexName`
318318

319319
```js
320320
module.exports = {
@@ -327,6 +327,10 @@ module.exports = {
327327
}
328328
```
329329

330+
::: warning 注意
331+
不同于开箱即用的 [内置搜索](#内置搜索)[Algolia 搜索](https://community.algolia.com/docsearch/) 需要你在使用之前将你的网站提交给它们用于创建索引。
332+
:::
333+
330334
更多选项请参考 [Algolia DocSearch 的文档](https://github.com/algolia/docsearch#docsearch-options)
331335

332336
## 最后更新时间

0 commit comments

Comments
 (0)