feat(search-plugin): add namespace option (#706)

* feat(search-plugin): add namespace option

* docs(search-plugin): update doc for option namespace
This commit is contained in:
程康 2018-12-05 02:29:44 +00:00 committed by cinwell.li
commit 28beff80f7
3 changed files with 29 additions and 7 deletions

View file

@ -40,6 +40,10 @@ By default, the hyperlink on the current page is recognized and the content is s
depth: 2,
hideOtherSidebarContent: false, // whether or not to hide other sidebar content
// To avoid search index collision
// between multiple websites under the same domain
namespace: 'website-1',
}
}
</script>