add multi language

This commit is contained in:
2025-01-22 17:42:18 +08:00
parent 85d68e358f
commit 6c93eb93c5
34 changed files with 2214 additions and 98 deletions

View File

@@ -0,0 +1,12 @@
import {defineConfig} from 'vitepress'
import {en} from './en'
import {zh} from './zh'
import {shared} from "./shared";
export default defineConfig({
...shared,
locales: {
root: {label: "简体中文", ...zh},
en: {label: 'English', link: '/docs/en/', ...en}
}
})