Skip to content

Commit

Permalink
docs: update vitepress + enable detailed search by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Jan 15, 2024
1 parent ca3f2f4 commit fb66dce
Show file tree
Hide file tree
Showing 4 changed files with 618 additions and 74 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"test:unit": "pnpm run -r test:unit",
"test:types": "pnpm run -r test:types",
"lint": "eslint . --ext js,vue,ts",
"release": "pnpm run build && pnpm run test && sheep release -b v4"
"release": "pnpm run build && pnpm run test && sheep release -b v4",
"docs:dev": "pnpm run -r --filter \"private-vue-apollo-docs\" dev"
},
"resolutions": {
"js-yaml": "^3.13.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "vitepress build src"
},
"devDependencies": {
"vitepress": "^1.0.0-rc.13"
"vitepress": "^1.0.0-rc.36"
},
"dependencies": {
"vue-github-button": "^3.0.3"
Expand Down
3 changes: 3 additions & 0 deletions packages/docs/src/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@ export default defineConfig({
},
search: {
provider: 'local',
options: {
detailedView: true,
},
},
},

Expand Down
Loading

0 comments on commit fb66dce

Please sign in to comment.