From a8352c6aa617b65f048c657db0ad659d5f2a385b Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Fri, 15 Mar 2024 21:21:41 -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 cd5da8b..21ded89 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:v3"], + }, }, lastUpdatedText: 'Last Updated', sidebar: [