2024-08-28 10:52:17 +08:00
|
|
|
import { defineConfig } from 'vitepress'
|
|
|
|
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
|
|
export default defineConfig({
|
|
|
|
title: "MBCP docs",
|
|
|
|
description: "MBCP library docs",
|
2024-08-28 11:38:46 +08:00
|
|
|
locales: {
|
|
|
|
root: {
|
|
|
|
label: '简体中文',
|
|
|
|
lang: 'zh-CN'
|
|
|
|
},
|
|
|
|
en: {
|
|
|
|
label: 'English',
|
|
|
|
lang: 'en-US'
|
|
|
|
}
|
|
|
|
},
|
2024-08-28 10:52:17 +08:00
|
|
|
themeConfig: {
|
|
|
|
// https://vitepress.dev/reference/default-theme-config
|
|
|
|
nav: [
|
|
|
|
{ text: 'Home', link: '/' },
|
|
|
|
{ text: 'Examples', link: '/markdown-examples' }
|
|
|
|
],
|
|
|
|
|
|
|
|
sidebar: [
|
|
|
|
{
|
|
|
|
text: 'Examples',
|
|
|
|
items: [
|
|
|
|
{ text: 'Markdown Examples', link: '/markdown-examples' },
|
|
|
|
{ text: 'Runtime API Examples', link: '/api-examples' }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
|
|
|
|
socialLinks: [
|
2024-08-28 11:38:46 +08:00
|
|
|
{ icon: 'github', link: 'https://github.com/snowykami/mbcp' }
|
2024-08-28 10:52:17 +08:00
|
|
|
]
|
2024-08-28 11:38:46 +08:00
|
|
|
},
|
|
|
|
srcDir: '.'
|
2024-08-28 10:52:17 +08:00
|
|
|
})
|