mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-22 14:17:38 +08:00
28 lines
954 B
TypeScript
28 lines
954 B
TypeScript
import {defineConfig} from 'vitepress'
|
|
import {ThemeConfig} from "./utils";
|
|
|
|
export const zh = defineConfig({
|
|
lang: "zh-Hans",
|
|
title: "MBCP 文档",
|
|
description: "MBCP 粒子计算和生成库文档",
|
|
themeConfig: {
|
|
nav: [
|
|
{text: '快速开始', link: '/guide/'},
|
|
{text: '参考', link: '/refer'},
|
|
{text: 'API引用', link: '/api/'},
|
|
{text: '实例', link: '/demo/'},
|
|
],
|
|
docFooter: {
|
|
prev: '上一页',
|
|
next: '下一页'
|
|
},
|
|
editLink: ThemeConfig.getEditLink(
|
|
'在 GitHub 上编辑此页',
|
|
),
|
|
footer: {
|
|
message: '文档由 <a href="https://vitepress.dev/">VitePress</a> 构建 | API引用由 <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a> 生成',
|
|
copyright: ThemeConfig.copyright
|
|
},
|
|
outline: ThemeConfig.getOutLine("页面内容"),
|
|
},
|
|
}) |