Skip to content

Commit 010597f

Browse files
committed
fix(docs): configure search at root level 🔍
- Add root-level search configuration - Remove locale-specific search configuration - Reorder config properties
1 parent 36f8336 commit 010597f

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

docs/.vitepress/config.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ import { withMermaid } from 'vitepress-plugin-mermaid'
44
export default withMermaid(
55
defineConfig({
66
base: '/',
7-
ignoreDeadLinks: true,
87
cleanUrls: true,
8+
ignoreDeadLinks: true,
9+
themeConfig: {
10+
search: {
11+
provider: 'local'
12+
}
13+
},
914
head: [
1015
['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }],
1116
['meta', { name: 'theme-color', content: '#158f77' }],
@@ -206,9 +211,6 @@ export default withMermaid(
206211
]
207212
},
208213
socialLinks: [{ icon: 'github', link: 'https://github.com/NeaByteLab/Deserve' }],
209-
search: {
210-
provider: 'local'
211-
},
212214
footer: {
213215
message: 'Released under the MIT License.',
214216
copyright: 'Copyright © 2025 NeaByteLab'
@@ -317,9 +319,6 @@ export default withMermaid(
317319
]
318320
},
319321
socialLinks: [{ icon: 'github', link: 'https://github.com/NeaByteLab/Deserve' }],
320-
search: {
321-
provider: 'local'
322-
},
323322
footer: {
324323
message: 'Dirilis di bawah Lisensi MIT.',
325324
copyright: 'Hak Cipta © 2025 NeaByteLab'

0 commit comments

Comments
 (0)