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 10:29:44 +08:00
committed by cinwell.li
parent 049726e11e
commit 28beff80f7
3 changed files with 29 additions and 7 deletions
+4
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>