Skip to content

Commit 8ed6d9f

Browse files
authored
Fix search context to only search 2.x docs (#39)
1 parent cf967b0 commit 8ed6d9f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.vuepress/theme/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
extend: '@vuepress/theme-default',
3+
4+
plugins: [
5+
['@vuepress/search', {
6+
test: ['/2\.x/'],
7+
}]
8+
],
9+
}

0 commit comments

Comments
 (0)