Skip to content

Commit 08dd4e9

Browse files
committed
Add search to docs
1 parent ee64653 commit 08dd4e9

File tree

3 files changed

+377
-1
lines changed

3 files changed

+377
-1
lines changed

docs/docusaurus.config.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,16 @@ const config: Config = {
154154
darkTheme: prismThemes.dracula, // Dark theme for code blocks
155155
},
156156
},
157+
themes: [
158+
[
159+
require.resolve("@easyops-cn/docusaurus-search-local"),
160+
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
161+
({
162+
hashed: true,
163+
}),
164+
],
165+
],
157166
};
158167

159-
// Exporting the configuration object
160168
export default config;
169+

0 commit comments

Comments
 (0)