添加 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 zh = defineConfig({
lang: "zh-Hans",
title: "小棉智能",
description: "可爱,智能且易扩展",
themeConfig: {
docFooter: {
prev: '上一页',
next: '下一页'
},
langMenuLabel: '语言',
returnToTopLabel: '返回顶部',
sidebarMenuLabel: '菜单',
darkModeSwitchLabel: '主题',
lightModeSwitchTitle: '轻色模式',
darkModeSwitchTitle: '深色模式',
},
})