feat: enable local search with detailed view in VitePress configuration
This commit is contained in:
@@ -10,6 +10,12 @@ const config = withMermaid(
|
|||||||
['link', { rel: 'icon', href: '/favicon.svg' }] // Jika Anda menggunakan favicon.svg
|
['link', { rel: 'icon', href: '/favicon.svg' }] // Jika Anda menggunakan favicon.svg
|
||||||
],
|
],
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
|
search: {
|
||||||
|
provider: 'local',
|
||||||
|
options: {
|
||||||
|
detailedView: true
|
||||||
|
}
|
||||||
|
},
|
||||||
logo: '/logo.svg',
|
logo: '/logo.svg',
|
||||||
nav: [
|
nav: [
|
||||||
{ text: 'Docs', link: '/overview' },
|
{ text: 'Docs', link: '/overview' },
|
||||||
|
|||||||
Reference in New Issue
Block a user