mirror of
https://github.com/snowykami/mbcp.git
synced 2026-01-26 13:42:40 +00:00
📝 优化文档显示
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user