Skip to content

Commit b03aec3

Browse files
committed
added search
1 parent 34fb329 commit b03aec3

File tree

3 files changed

+540
-0
lines changed

3 files changed

+540
-0
lines changed

docusaurus.config.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,19 @@ const config: Config = {
121121
],
122122
],
123123

124+
themes: [
125+
[
126+
require.resolve("@easyops-cn/docusaurus-search-local"),
127+
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
128+
({
129+
indexBlog: false,
130+
indexPages: false,
131+
docsRouteBasePath: "/",
132+
hashed: true,
133+
}),
134+
],
135+
],
136+
124137
themeConfig: {
125138
image: 'img/og-image.png',
126139
navbar: {

0 commit comments

Comments
 (0)