Skip to content

Commit 4f84e28

Browse files
committed
[Add] multi-lang search
1 parent 3fb95aa commit 4f84e28

File tree

3 files changed

+769
-331
lines changed

3 files changed

+769
-331
lines changed

Diff for: docusaurus.config.js

+3-11
Original file line numberDiff line numberDiff line change
@@ -127,17 +127,9 @@ const config = {
127127
}
128128
}
129129
},
130-
],
131-
132-
themes: [
133-
[
134-
require.resolve("@easyops-cn/docusaurus-search-local"),
135-
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
136-
({
137-
hashed: true,
138-
indexBlog: false,
139-
}),
140-
],
130+
[ require.resolve('docusaurus-lunr-search'), {
131+
languages: ['en', 'ko']
132+
}]
141133
],
142134
};
143135

0 commit comments

Comments
 (0)