Skip to content

Commit

Permalink
Add Lunr search engine
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-klein committed Jul 1, 2022
1 parent ec0377b commit e077f63
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 0 deletions.
1 change: 1 addition & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const config = {
}),
],
],
plugins: [require.resolve('docusaurus-lunr-search')],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"@docusaurus/preset-classic": "2.0.0-beta.21",
"@mdx-js/react": "1.6.22",
"clsx": "1.1.1",
"docusaurus-lunr-search": "2.1.15",
"lunr": "2.3.9",
"prism-react-renderer": "1.3.3",
"react": "17.0.2",
"react-dom": "17.0.2"
Expand Down
Loading

0 comments on commit e077f63

Please sign in to comment.