Add search box.

This commit is contained in:
Nick Brassel 2023-05-01 15:48:46 +10:00
parent f2d4dace06
commit d9cf993f1c
No known key found for this signature in database
3 changed files with 299 additions and 0 deletions

View File

@ -27,6 +27,13 @@ const config = {
customCss: require.resolve("./src/css/custom.css"),
}
],
[
require.resolve("@easyops-cn/docusaurus-search-local"),
{
indexBlog: false,
docsRouteBasePath: '/'
},
],
],
plugins: [
[

291
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -17,6 +17,7 @@
"@docusaurus/core": "2.4.0",
"@docusaurus/plugin-client-redirects": "^2.4.0",
"@docusaurus/preset-classic": "2.4.0",
"@easyops-cn/docusaurus-search-local": "^0.35.0",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",