Skip to content

Commit

Permalink
chore: add docusaurus-lunr-search plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
hichemfantar committed Sep 4, 2024
1 parent a6d882a commit 43a33cf
Show file tree
Hide file tree
Showing 3 changed files with 3,243 additions and 3,092 deletions.
2 changes: 2 additions & 0 deletions packages/vite-plugin-docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ const config = {
darkTheme: darkCodeTheme,
},
}),

plugins: [require.resolve('docusaurus-lunr-search')],
}

module.exports = config
2 changes: 2 additions & 0 deletions packages/vite-plugin-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
"@docusaurus/theme-classic": "^2.0.0-beta.20",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.1.1",
"docusaurus-lunr-search": "^3.4.0",
"lunr": "^2.3.9",
"prism-react-renderer": "^1.3.1",
"react": "^17.0.2",
"react-dom": "^17.0.2"
Expand Down
Loading

0 comments on commit 43a33cf

Please sign in to comment.