Skip to content

Commit 31dd74f

Browse files
committed
chore: add docsearch index
1 parent ce1cf18 commit 31dd74f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/.vuepress/config.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,11 @@ const config: UserConfig<DefaultThemeOptions> = {
9191
[
9292
'@vuepress/plugin-docsearch',
9393
{
94-
// TODO: create algolia index for vuepress-next
95-
// apiKey: '',
96-
// appId: '',
97-
// indexName: '',
94+
apiKey: '3a539aab83105f01761a137c61004d85',
95+
indexName: 'vuepress',
96+
searchParameters: {
97+
facetFilters: ['tags:v2'],
98+
},
9899
locales: {
99100
'/zh/': {
100101
placeholder: '搜索文档',

0 commit comments

Comments
 (0)