📝 优化文档显示

This commit is contained in:
2024-08-31 06:06:32 +08:00
parent e0b4610161
commit 2c0be2c6f0
15 changed files with 155 additions and 47 deletions

View File

@@ -1,15 +1,24 @@
import {defineConfig} from 'vitepress'
import {ThemeConfig} from "./utils";
export const en = defineConfig({
lang: "en-US",
description: "A library made for Minecraft particle generation",
title: "MBCP docs",
description: "MBCP library docs",
themeConfig: {
nav: [
{text: 'Get Start', link: '/en/guide/'},
{text: 'Reference', link: '/en/refer'},
{text: 'API Document', link: '/en/api/'},
{text: 'API Reference', link: '/en/api/'},
{text: 'Demo', link: '/en/demo/'},
],
docFooter: {
prev: 'Prev Page',
next: 'Next Page'
},
editLink: ThemeConfig.getEditLink(
'Edit this page on GitHub',
),
footer: {
message: 'Documentation built with <a href="https://vitepress.dev/">VitePress</a> | API references generated by <a href="https://github.com/LiteyukiStudio/litedoc">litedoc</a>',
copyright: 'Copyright (C) 2020-2024 SnowyKami. All Rights Reserved'