添加 VitePress 配置和主题支持;更新 .gitignore 文件以排除不必要的目录;新增中英文文档首页

This commit is contained in:
2024-12-14 16:11:30 +08:00
parent d0110f1c11
commit ecd517533b
17 changed files with 2690 additions and 1 deletions

View File

@ -0,0 +1,19 @@
import {defineConfig} from 'vitepress'
export const en = defineConfig({
lang: "en-US",
title: "Marsho AI",
description: "Kawaii, Intelligent and Easy to Extend",
themeConfig: {
docFooter: {
prev: 'Prev',
next: 'Next'
},
langMenuLabel: 'Language',
returnToTopLabel: 'To top',
sidebarMenuLabel: 'Option',
darkModeSwitchLabel: 'Theme',
lightModeSwitchTitle: 'Light',
darkModeSwitchTitle: 'Dark',
},
})