forked from phoenix/litellm-mirror
added lunr search bar in docs
This commit is contained in:
parent
d8ed7cd179
commit
7690f26ef1
3 changed files with 442 additions and 290 deletions
|
@ -38,6 +38,9 @@ const config = {
|
|||
disableInDev: false,
|
||||
},
|
||||
],
|
||||
[ require.resolve('docusaurus-lunr-search'), {
|
||||
languages: ['en'] // language codes
|
||||
}]
|
||||
],
|
||||
|
||||
presets: [
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
"@docusaurus/preset-classic": "2.4.1",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"clsx": "^1.2.1",
|
||||
"docusaurus-lunr-search": "^2.4.1",
|
||||
"prism-react-renderer": "^1.3.5",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue