|
|
@ -1,5 +1,6 @@
|
|
|
|
import { defineConfig } from 'vitepress'
|
|
|
|
import { defineConfig } from 'vitepress'
|
|
|
|
import { search as zhSearch } from './zh'
|
|
|
|
import { search as zhSearch } from './zh'
|
|
|
|
|
|
|
|
import { search as ptSearch } from './pt'
|
|
|
|
|
|
|
|
|
|
|
|
export const shared = defineConfig({
|
|
|
|
export const shared = defineConfig({
|
|
|
|
title: 'VitePress',
|
|
|
|
title: 'VitePress',
|
|
|
@ -51,7 +52,7 @@ export const shared = defineConfig({
|
|
|
|
appId: '8J64VVRP8K',
|
|
|
|
appId: '8J64VVRP8K',
|
|
|
|
apiKey: 'a18e2f4cc5665f6602c5631fd868adfd',
|
|
|
|
apiKey: 'a18e2f4cc5665f6602c5631fd868adfd',
|
|
|
|
indexName: 'vitepress',
|
|
|
|
indexName: 'vitepress',
|
|
|
|
locales: { ...zhSearch }
|
|
|
|
locales: { ...zhSearch, ...ptSearch }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|