Skip to content

Commit d206d44

Browse files
committed
docs($cn): docs: disable Search per Page (vuejs#1293)
1 parent 24b8fac commit d206d44

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

+8
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,14 @@ module.exports = {
314314
}
315315
```
316316

317+
你可以通过 `YAML front matter` 来对单独的页面禁用内置的搜索框:
318+
319+
```yaml
320+
---
321+
search: false
322+
---
323+
```
324+
317325
::: tip
318326
内置搜索只会为页面的标题、`h2``h3` 构建搜索索引,如果你需要全文搜索,你可以使用 [Algolia 搜索](#Algolia-搜索)
319327
:::

0 commit comments

Comments
 (0)