mirror of
https://github.com/cupcakearmy/memoir.git
synced 2024-12-21 23:56:25 +00:00
feat: add search
This commit is contained in:
parent
f0cea84471
commit
67aca792cf
@ -20,6 +20,8 @@ const config = {
|
||||
locales: ['en'],
|
||||
},
|
||||
|
||||
themes: [[require.resolve('@easyops-cn/docusaurus-search-local'), { hashed: true }]],
|
||||
|
||||
presets: [
|
||||
[
|
||||
'classic',
|
||||
|
12
package.json
12
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "docs",
|
||||
"version": "0.0.0",
|
||||
"name": "memoir",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"docusaurus": "docusaurus",
|
||||
@ -15,8 +15,8 @@
|
||||
"typecheck": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "2.3.0",
|
||||
"@docusaurus/preset-classic": "2.3.0",
|
||||
"@docusaurus/core": "^2.3.1",
|
||||
"@docusaurus/preset-classic": "^2.3.1",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"clsx": "^1.2.1",
|
||||
"prism-react-renderer": "^1.3.5",
|
||||
@ -24,7 +24,9 @@
|
||||
"react-dom": "^17.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "2.3.0",
|
||||
"@docusaurus/module-type-aliases": "^2.3.1",
|
||||
"@docusaurus/theme-common": "^2.3.1",
|
||||
"@easyops-cn/docusaurus-search-local": "^0.34.0",
|
||||
"@tsconfig/docusaurus": "^1.0.6",
|
||||
"typescript": "^4.9.5"
|
||||
},
|
||||
|
1681
pnpm-lock.yaml
generated
1681
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user