chore: add depth configuration for search (#2549)

There is h6 content in the document, but the search configuration defaults to h2, so the relevant content is not searched.
This commit is contained in:
Luffy 2025-05-12 09:37:24 +08:00 committed by GitHub
parent ccb7515b70
commit f0b03f6d98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -139,6 +139,7 @@
'/': 'Search', '/': 'Search',
}, },
pathNamespaces: ['/zh-cn'], pathNamespaces: ['/zh-cn'],
depth: 6,
}, },
skipLink: { skipLink: {
'/zh-cn/': '跳到主要内容', '/zh-cn/': '跳到主要内容',