Skip to content

Commit

Permalink
docs: mention that searchContent is an experimental feature (#2505)
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jan 17, 2024
1 parent de92f41 commit e6a1b06
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/content/3.composables/7.search-content.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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.
::

Expand Down

0 comments on commit e6a1b06

Please sign in to comment.