diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 9df856d83..c3c8a7a49 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -71,7 +71,17 @@ export default defineUserConfig({ 'hierarchy.lvl6:20', 'content:50' ], - hitsPerPage: 50 + hitsPerPage: 50, + facetFilters: [ + [ + 'type:lvl0', + 'type:lvl1', + 'type:lvl2', + 'type:lvl3', + 'type:lvl4', + 'type:lvl5' + ] + ] }, maxResultsPerGroup: 30, // transformItems: (items) => { diff --git a/docs/.vuepress/layouts/InstanceSearchLayout.vue b/docs/.vuepress/layouts/InstanceSearchLayout.vue index f013368df..c39c51b9b 100644 --- a/docs/.vuepress/layouts/InstanceSearchLayout.vue +++ b/docs/.vuepress/layouts/InstanceSearchLayout.vue @@ -21,6 +21,7 @@

文档分类

+
@@ -31,14 +32,6 @@ @@ -64,7 +65,8 @@