Skip to content

Commit

Permalink
Add search to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
krypticmouse committed Mar 5, 2024
1 parent ee64653 commit 08dd4e9
Show file tree
Hide file tree
Showing 3 changed files with 377 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,16 @@ const config: Config = {
darkTheme: prismThemes.dracula, // Dark theme for code blocks
},
},
themes: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
hashed: true,
}),
],
],
};

// Exporting the configuration object
export default config;

Loading

0 comments on commit 08dd4e9

Please sign in to comment.