From a2359fb37768e2538f4a77926034cf32eeeb3b83 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Fri, 15 Mar 2024 21:21:34 -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 62fef25..e3cdca8 100644 --- a/docs/docs/.vitepress/config.ts +++ b/docs/docs/.vitepress/config.ts @@ -24,7 +24,10 @@ export default defineConfig({ algolia: { appId: 'T6JC4YE35L', apiKey: '071b68301938ade2178101974f60c3ac', - indexName: 'webperf' + indexName: 'webperf', + searchParameters: { + facetFilters: ["version:v4"], + }, }, lastUpdatedText: 'Last Updated', sidebar: [