Skip to content

Commit

Permalink
docs(site): docsearch add lvl0 title
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhengqbbb committed Sep 27, 2024
1 parent 6ec4599 commit ea8f5b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
indexName: 'cz-git',
searchParameters: {
facetFilters: ['lang:en-US'],
attributesToHighlight: ['hierarchy.lvl0'],
},
},
footer: {
Expand Down
1 change: 1 addition & 0 deletions docs/.vitepress/config/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const zhConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
},
searchParameters: {
facetFilters: ['lang:zh-CN'],
attributesToHighlight: ['hierarchy.lvl0'],
},
},
footer: {
Expand Down

0 comments on commit ea8f5b2

Please # to comment.