Skip to content

Commit 24b8fac

Browse files
andezzatulivz
authored andcommitted
docs: disable Search per Page (#1293)
Add small section for disabling search per page via new front matter property search.
1 parent dad2928 commit 24b8fac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

+7
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,13 @@ module.exports = {
319319
}
320320
```
321321

322+
You can also disable the built-in search box for individual pages with `YAML front matter`:
323+
```yaml
324+
---
325+
search: false
326+
---
327+
```
328+
322329
::: tip
323330
Built-in Search only builds index from the title, `h2` and `h3` headers, if you need full text search, you can use [Algolia Search](#algolia-search).
324331
:::

0 commit comments

Comments
 (0)