Skip to content

Commit

Permalink
Add search functionality to docs (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
blakehatch authored Mar 8, 2024
1 parent d2dd46d commit 3dc1b8e
Show file tree
Hide file tree
Showing 3 changed files with 384 additions and 4 deletions.
2 changes: 2 additions & 0 deletions nativelink-docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ const config = {
locales: ['en'],
},

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

presets: [
[
'classic',
Expand Down
1 change: 1 addition & 0 deletions nativelink-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@docusaurus/preset-classic": "3.0.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^2.0.0",
"docusaurus-lunr-search": "^3.3.2",
"prism-react-renderer": "^2.3.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
Expand Down
Loading

0 comments on commit 3dc1b8e

Please sign in to comment.