From e6a1b06d38f991a3b9f904e5fe97fd7d6870bbba Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 17 Jan 2024 09:40:25 +0100 Subject: [PATCH] docs: mention that `searchContent` is an experimental feature (#2505) --- docs/content/3.composables/7.search-content.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/content/3.composables/7.search-content.md b/docs/content/3.composables/7.search-content.md index 98132780e..affcb2eb2 100644 --- a/docs/content/3.composables/7.search-content.md +++ b/docs/content/3.composables/7.search-content.md @@ -1,4 +1,10 @@ -# searchContent() +--- +title: searchContent() +--- + +::callout{type="warning"} +This is an experimental feature, opt-in with the [`experimental.search` option](/get-started/configuration#search). +:: Used to search in your `content` directory. @@ -28,7 +34,7 @@ const miniSearchOptions = defineMiniSearchOptions({ Using these options allows you to modify how the search is performed. You can change the [fields that are searched, the weight of each field, and more](https://lucaong.github.io/minisearch/#search-options). -::alert{type="info"} +::callout{type="info"} Only available when using the simple search, aka non-indexed search. ::