From 24b8facbb50f0836c4761ac467e09b07aff781a4 Mon Sep 17 00:00:00 2001 From: Andrew Salib Date: Wed, 20 Feb 2019 02:51:33 +1100 Subject: [PATCH] docs: disable Search per Page (#1293) 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). :::