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:
程康 2018-10-31 12:43:46 +00:00 committed by qingwei.li
commit 4a23c4acf2
4 changed files with 31 additions and 5 deletions

View file

@ -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>