add multi language
This commit is contained in:
22
.vitepress/config/shared.ts
Normal file
22
.vitepress/config/shared.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import {defineConfig} from 'vitepress'
|
||||
|
||||
export const shared = defineConfig({
|
||||
title: "Sif 2",
|
||||
description: "A Sif2 Server and Client Documents",
|
||||
ignoreDeadLinks: true,
|
||||
themeConfig: {
|
||||
logo: '/logo.png',
|
||||
socialLinks: [
|
||||
{icon: 'github', link: 'https://git.zhushenwudi.top/zhushenwudi/ew'}
|
||||
]
|
||||
},
|
||||
markdown: {
|
||||
image: {
|
||||
// 默认禁用;设置为 true 可为所有图片启用懒加载。
|
||||
lazyLoading: true
|
||||
}
|
||||
},
|
||||
rewrites: {
|
||||
'docs/zh/:rest*': ':rest*'
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user