Skip to content

Commit

Permalink
docs: add offline search (#2506)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Apr 15, 2023
1 parent 52327b8 commit a9df4d5
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 17 deletions.
3 changes: 3 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,9 @@ export default defineConfig({
themeConfig: {
logo: '/logo.svg',
nav: Nav,
search: {
provider: 'local',
},
sidebar: {
'/guide/': SidebarGuide,
'/integrations/': SidebarGuide,
Expand Down
4 changes: 0 additions & 4 deletions docs/.vitepress/theme/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ table {
.VPHero .image-container:hover .image-bg {
opacity: 0.2;
}

.VPNavBar {
white-space: nowrap;
}
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"@iconify-json/vscode-icons": "^1.1.22",
"ofetch": "^1.0.1",
"unocss": "workspace:*",
"vitepress": "1.0.0-alpha.65"
"vitepress": "1.0.0-alpha.67"
}
}
71 changes: 59 additions & 12 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a9df4d5

Please sign in to comment.