mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
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:
parent
ccb7515b70
commit
f0b03f6d98
@ -139,6 +139,7 @@
|
|||||||
'/': 'Search',
|
'/': 'Search',
|
||||||
},
|
},
|
||||||
pathNamespaces: ['/zh-cn'],
|
pathNamespaces: ['/zh-cn'],
|
||||||
|
depth: 6,
|
||||||
},
|
},
|
||||||
skipLink: {
|
skipLink: {
|
||||||
'/zh-cn/': '跳到主要内容',
|
'/zh-cn/': '跳到主要内容',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user