From 9a5ff356207fd5a0f52d97cddf98d33d99a6c068 Mon Sep 17 00:00:00 2001 From: Andrew Salib Date: Thu, 14 Feb 2019 07:40:42 +1100 Subject: [PATCH] Default Theme Docs: Disable Search per Page Add small section for disabling search per page via new front matter property search. --- packages/docs/docs/theme/default-theme-config.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/docs/docs/theme/default-theme-config.md b/packages/docs/docs/theme/default-theme-config.md index 0b7004c107..47209f9ca1 100644 --- a/packages/docs/docs/theme/default-theme-config.md +++ b/packages/docs/docs/theme/default-theme-config.md @@ -319,6 +319,13 @@ module.exports = { } ``` +You can also disable the built-in search box for individual pages with `YAML front matter`: +```yaml +--- +search: false +--- +``` + ::: tip 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). :::