Skip to content

Commit 0e1c69f

Browse files
authored
feat(search-plugin): add namespace option (#706)
Ref: docsifyjs/docsify@28beff8
1 parent a8903b5 commit 0e1c69f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

plugins.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ By default, the hyperlink on the current page is recognized and the content is s
3939
},
4040
4141
// Headline depth, 1 - 6
42-
depth: 2
42+
depth: 2,
43+
44+
hideOtherSidebarContent: false, // whether or not to hide other sidebar content
45+
46+
// To avoid search index collision
47+
// between multiple websites under the same domain
48+
namespace: 'website-1',
4349
}
4450
}
4551
</script>
@@ -190,4 +196,4 @@ Provided by [@jhildenbiddle](https://github.com/jhildenbiddle/docsify-tabs).
190196

191197
## More plugins
192198

193-
See [awesome-docsify](/es/awesome?id=plugins)
199+
See [awesome-docsify](/es/awesome?id=plugins)

0 commit comments

Comments
 (0)