2024-09-26 14:46:34 +08:00
|
|
|
import { defineConfig } from 'vitepress'
|
|
|
|
|
|
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
|
|
|
export default defineConfig({
|
2024-09-26 21:01:37 +08:00
|
|
|
lang: 'zh-CN',
|
2024-09-26 14:46:34 +08:00
|
|
|
title: "Blocks Service Mesh",
|
|
|
|
|
description: "Fast BaaS Open Source Project",
|
2024-09-26 21:01:37 +08:00
|
|
|
|
|
|
|
|
srcDir: '../src',
|
2024-09-27 17:48:02 +08:00
|
|
|
assetsDir: './static',
|
2024-09-27 17:49:17 +08:00
|
|
|
outDir: '../dist',
|
2024-09-26 21:01:37 +08:00
|
|
|
appearance: 'dark',
|
|
|
|
|
|
2024-09-26 14:46:34 +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: [
|
|
|
|
|
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
})
|