Skip to content

Commit

Permalink
docs($cn): docs: disable Search per Page (vuejs#1293)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Feb 19, 2019
1 parent 24b8fac commit d206d44
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/docs/docs/zh/theme/default-theme-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,14 @@ module.exports = {
}
```

你可以通过 `YAML front matter` 来对单独的页面禁用内置的搜索框:

```yaml
---
search: false
---
```

::: tip
内置搜索只会为页面的标题、`h2``h3` 构建搜索索引,如果你需要全文搜索,你可以使用 [Algolia 搜索](#Algolia-搜索)
:::
Expand Down

0 comments on commit d206d44

Please sign in to comment.