diff --git a/docs/.vitepress/config/en.ts b/docs/.vitepress/config/en.ts index 43d8b53d9..3678ad08d 100644 --- a/docs/.vitepress/config/en.ts +++ b/docs/.vitepress/config/en.ts @@ -21,6 +21,8 @@ export const enConfig = async () => ({ ['meta', { property: 'twitter:image', content: 'https://greptime.com/resource/greptime_banner.png' }], // Bing verify ['meta', { name: 'msvalidate.01', content: 'BD813946F80D5B50E162932BF3FD0D49' }], + ['meta', { name: 'docsearch:language', content: 'en-US'}], + ['meta', { name: 'docsearch:version', content: CURRENT_VERSION}] ], locales: { root: { label: 'English', lang: 'en-US', link: '/' }, diff --git a/docs/.vitepress/config/zh.ts b/docs/.vitepress/config/zh.ts index 0a03466e1..6e0758394 100644 --- a/docs/.vitepress/config/zh.ts +++ b/docs/.vitepress/config/zh.ts @@ -21,6 +21,8 @@ export const zhConfig = async () => ({ ['meta', { property: 'twitter:image', content: 'https://greptime.com/resource/greptime_banner.png' }], // Bing verify ['meta', { name: 'msvalidate.01', content: 'BD813946F80D5B50E162932BF3FD0D49' }], + ['meta', { name: 'docsearch:language', content: 'zh-CN'}], + ['meta', { name: 'docsearch:version', content: CURRENT_VERSION}] ], locales: { root: { label: '简体中文', lang: 'zh-CN', link: '/' },