Skip to content

Commit

Permalink
feat: add search
Browse files Browse the repository at this point in the history
  • Loading branch information
max397574 committed Oct 21, 2024
1 parent cdee82b commit 9c55742
Show file tree
Hide file tree
Showing 3 changed files with 512 additions and 13 deletions.
10 changes: 10 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ const config: Config = {
} satisfies Preset.Options,
],
],
themes: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
indexBlog: false,
hashed: true,
}),
],
],

themeConfig: {
// Replace with your project's social card
Expand Down
Loading

0 comments on commit 9c55742

Please sign in to comment.