mbcp/docs/.vitepress/config/zh.ts

28 lines
953 B
TypeScript
Raw Normal View History

2024-08-28 11:56:19 +08:00
import {defineConfig} from 'vitepress'
2024-08-31 06:06:32 +08:00
import {ThemeConfig} from "./utils";
2024-08-28 11:38:46 +08:00
export const zh = defineConfig({
lang: "zh-Hans",
2024-08-31 06:06:32 +08:00
title: "MBCP 文档",
description: "MBCP 粒子计算和生成库文档",
2024-08-28 11:38:46 +08:00
themeConfig: {
2024-08-28 12:02:30 +08:00
nav: [
{text: '快速开始', link: '/guide/'},
2024-08-30 17:56:01 +08:00
{text: '参考', link: '/refer'},
2024-08-31 06:06:32 +08:00
{text: 'API引用', link: '/api/'},
2024-08-28 12:02:30 +08:00
{text: '实例', link: '/demo/'},
],
2024-08-31 06:06:32 +08:00
docFooter: {
prev: '上一页',
next: '下一页'
},
editLink: ThemeConfig.getEditLink(
'在 GitHub 上编辑此页',
),
2024-08-29 19:00:01 +08:00
footer: {
message: '文档由 <a href="https://vitepress.dev/">VitePress</a> 构建 | API引用由 <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a> 生成',
2024-08-31 07:40:03 +08:00
copyright: ThemeConfig.copyright
2024-08-30 15:09:17 +08:00
},
2024-08-31 07:40:03 +08:00
outline: ThemeConfig.getOutLine("页面内容")
2024-08-28 11:38:46 +08:00
},
})