Skip to content

Commit 2cd7c79

Browse files
clicktodevnecolas
authored andcommitted
Add docusaurus-lunr-search plugin for enhanced search functionality
Close #288
1 parent 38ff2e3 commit 2cd7c79

File tree

3 files changed

+834
-1
lines changed

3 files changed

+834
-1
lines changed

apps/website/docusaurus.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ const config = {
117117
darkTheme: prismThemes.dracula,
118118
theme: prismThemes.github
119119
}
120-
}
120+
},
121+
plugins: [require.resolve('docusaurus-lunr-search')]
121122
};
122123

123124
export default config;

apps/website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"@docusaurus/preset-classic": "3.8.1",
1414
"@mdx-js/react": "^3.1.0",
1515
"clsx": "^2.0.0",
16+
"docusaurus-lunr-search": "^3.6.0",
1617
"prism-react-renderer": "^2.4.1",
1718
"react": "^18.1.0",
1819
"react-dom": "^18.1.0"

0 commit comments

Comments
 (0)