From dab2dda9df2bfe141ba1b79e451f4c7124981d8c Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Tue, 12 Mar 2024 19:25:51 -0400 Subject: [PATCH] refactor: Add version facet to Algolia DocSearch --- docs/docs/.vitepress/config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/docs/.vitepress/config.ts b/docs/docs/.vitepress/config.ts index 57ee69f..4c164e9 100644 --- a/docs/docs/.vitepress/config.ts +++ b/docs/docs/.vitepress/config.ts @@ -24,7 +24,10 @@ export default defineConfig({ algolia: { appId: 'FM0B4KJI1X', apiKey: 'a7665c2c6a31d3a94c5883f7f9c787db', - indexName: 'cookies' + indexName: 'cookies', + searchParameters: { + facetFilters: ["version:v5"], + }, }, lastUpdatedText: 'Last Updated', sidebar: [],