feat: Add hideOtherSidebarContent option (#661)
Allow user to configure whether or not to hide other sidebar content while showing searching results. Related issue: https://github.com/docsifyjs/docsify/issues/535
This commit is contained in:
parent
a39b214733
commit
4a23c4acf2
4 changed files with 31 additions and 5 deletions
|
|
@ -37,7 +37,9 @@ By default, the hyperlink on the current page is recognized and the content is s
|
|||
},
|
||||
|
||||
// Headline depth, 1 - 6
|
||||
depth: 2
|
||||
depth: 2,
|
||||
|
||||
hideOtherSidebarContent: false, // whether or not to hide other sidebar content
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue