Skip to content

Commit

Permalink
Enable local search
Browse files Browse the repository at this point in the history
  • Loading branch information
gnidan committed Nov 8, 2024
1 parent 15c9d5e commit cf85eb7
Show file tree
Hide file tree
Showing 3 changed files with 341 additions and 15 deletions.
2 changes: 2 additions & 0 deletions packages/web/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const config: Config = {
],

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

async function ignoreBuffer(context, options) {
return {
name: "ignore-buffer",
Expand Down
1 change: 1 addition & 0 deletions packages/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"ajv": "^8.12.0",
"clsx": "^1.2.1",
"docusaurus-json-schema-plugin": "^1.12.1",
"docusaurus-lunr-search": "^3.5.0",
"prism-react-renderer": "^2.1.0",
"raw-loader": "^4.0.2",
"react": "^18.0.0",
Expand Down
Loading

0 comments on commit cf85eb7

Please sign in to comment.