feat: add site-wide search bar
deploy / build (push) Successful in 2m33s Details

This commit is contained in:
Lucien Cartier-Tilet 2024-01-28 05:33:25 +01:00
parent 04ad590c24
commit f934ce745c
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
3 changed files with 3208 additions and 1860 deletions

View File

@ -1,6 +1,7 @@
import { defaultTheme } from '@vuepress/theme-default';
import { viteBundler } from '@vuepress/bundler-vite';
import { defineUserConfig } from 'vuepress';
import { searchProPlugin } from 'vuepress-plugin-search-pro';
import head from './head';
@ -120,6 +121,11 @@ export default defineUserConfig({
level: [1, 2, 3, 4, 5],
},
},
plugins: [
searchProPlugin({
indexContent: true,
}),
],
theme: defaultTheme({
sidebarDepth: 5,
repo: 'https://labs.phundrak.com/phundrak/config.phundrak.com',

View File

@ -17,6 +17,7 @@
"@vuepress/bundler-vite": "^2.0.0-rc.2",
"@vuepress/theme-default": "^2.0.0-rc.2",
"vuepress": "2.0.0-rc.2",
"vuepress-plugin-search-pro": "^2.0.0-rc.16"
},
"packageManager": "yarn@4.0.2"
}

5061
yarn.lock

File diff suppressed because it is too large Load Diff