From 3bed6c842cfb3aaa4fdb7edd4693e61611794b07 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 15 Apr 2021 13:44:35 +0200 Subject: [PATCH] docs: extra hint algolia search [skip ci] --- docs/config/algolia-search.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/config/algolia-search.md b/docs/config/algolia-search.md index 55ae39e2..a4e7bb45 100644 --- a/docs/config/algolia-search.md +++ b/docs/config/algolia-search.md @@ -47,7 +47,7 @@ module.exports = { } ``` -VitePress will automatically add a `language` _facetFilter_ to the `searchParams.facetFilter` array. **Make sure to properly configure your DocSearch config as well** by adding `language` as a _custom attribute for faceting_ and by setting it based on the `lang` attribute of the `` element. Here is a short example of DocSearch config: +VitePress will automatically add a `language` _facetFilter_ to the `searchParams.facetFilter` array with the correct language value. **Make sure to properly configure your DocSearch config as well** by adding `language` as a _custom attribute for faceting_ and by setting it based on the `lang` attribute of the `` element. Here is a short example of DocSearch config: ```json {