📝 测试文档部署

This commit is contained in:
2024-08-28 22:07:43 +08:00
parent de42d34e38
commit 0d3511edd2
60 changed files with 9799 additions and 25 deletions

View File

@@ -4,7 +4,11 @@ export const en = defineConfig({
lang: "en-US",
description: "A library made for Minecraft particle generation",
themeConfig: {
nav: [
{text: 'Get Start', link: '/guide'},
{text: 'API Document', link: '/api/'},
{text: 'Demo', link: '/demo/'},
],
},
})

View File

@@ -3,6 +3,7 @@ import {defineConfig} from "vitepress";
import {common} from './common'
import {en} from './en'
import {zh} from './zh'
import {ja} from './ja'
@@ -10,6 +11,7 @@ export default defineConfig({
...common,
locales:{
root: { label: "简体中文", ...zh },
en: { label: "English", ...en }
en: { label: "English", ...en },
ja: { label: "日本語", ...ja },
}
})

View File

@@ -0,0 +1,14 @@
import {defineConfig} from 'vitepress'
export const ja = defineConfig({
lang: "ja-JP",
description: "Minecraftのパーティクル生成用のライブラリ",
themeConfig: {
nav: [
{text: 'スタート', link: '/guide'},
{text: 'APIドキュメント', link: '/api/'},
{text: 'インスタンス', link: '/demo/'},
],
},
})

View File

@@ -1,21 +1,14 @@
import {defineConfig} from 'vitepress'
export const zh = defineConfig({
lang: "zh-Hans",
description: "一个用于Minecraft粒子计算和生成的库",
themeConfig: {
nav: [
{text: '快速开始', link: '/guide'},
{text: '快速开始', link: '/guide/'},
{text: 'API文档', link: '/api/'},
{text: '实例', link: '/demo/'},
],
// sidebar: {
// '/api/': {
// base: '/api/',
// items: [
// ]
// }
// }
},
})