Skip to content

Commit

Permalink
docs($cn): update (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Jul 12, 2018
1 parent 58775ef commit 9b4b9ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/default-theme-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
6 changes: 5 additions & 1 deletion docs/zh/default-theme-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -327,6 +327,10 @@ module.exports = {
}
```

::: warning 注意
不同于开箱即用的 [内置搜索](#内置搜索)[Algolia 搜索](https://community.algolia.com/docsearch/) 需要你在使用之前将你的网站提交给它们用于创建索引。
:::

更多选项请参考 [Algolia DocSearch 的文档](https://github.com/algolia/docsearch#docsearch-options)

## 最后更新时间
Expand Down

0 comments on commit 9b4b9ba

Please sign in to comment.