Skip to content

Commit

Permalink
docs: implement search (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar committed Jun 19, 2023
1 parent 6e84f3b commit d6eb0a1
Show file tree
Hide file tree
Showing 3 changed files with 462 additions and 0 deletions.
12 changes: 12 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ const config = {
],
],

themes: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
hashed: true,
docsRouteBasePath: '/',
indexBlog: false,
}),
]
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand Down
Loading

0 comments on commit d6eb0a1

Please sign in to comment.