Skip to content

Commit 4893b41

Browse files
committed
docs: add version filter for algolia search
1 parent 830dd4c commit 4893b41

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/docs/docs/.vuepress/config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ module.exports = ctx => ({
3333
// #697 Provided by the official algolia team.
3434
algolia: ctx.isProd ? ({
3535
apiKey: '3a539aab83105f01761a137c61004d85',
36-
indexName: 'vuepress'
36+
indexName: 'vuepress',
37+
algoliaOptions: {
38+
facetFilters: ['tags:v1']
39+
}
3740
}) : null,
3841
smoothScroll: true,
3942
locales: {

0 commit comments

Comments
 (0)