mirror of
https://github.com/RainCraft-Server/raincraft-server.github.io.git
synced 2025-12-16 13:17:29 +00:00
first commit
This commit is contained in:
commit
fa65e2e9dc
32 changed files with 6059 additions and 0 deletions
89
docs/.vuepress/config.ts
Normal file
89
docs/.vuepress/config.ts
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
import { viteBundler } from '@vuepress/bundler-vite'
|
||||
import { defineUserConfig } from 'vuepress'
|
||||
import { plumeTheme } from 'vuepress-theme-plume'
|
||||
|
||||
|
||||
export default defineUserConfig({
|
||||
base: '/',
|
||||
lang: 'zh-CN',
|
||||
locales: {
|
||||
'/': {
|
||||
title: 'RainCraft',
|
||||
lang: 'zh-CN',
|
||||
description: 'An Minecraft Server.',
|
||||
},
|
||||
'/en/': {
|
||||
title: 'RainCraft',
|
||||
lang: 'en-US',
|
||||
description: 'An Minecraft Server.',
|
||||
},
|
||||
},
|
||||
|
||||
bundler: viteBundler(),
|
||||
|
||||
theme: plumeTheme({
|
||||
// 添加您的部署域名
|
||||
hostname: 'https://mc.ineko.cc',
|
||||
|
||||
plugins: {
|
||||
/**
|
||||
* Shiki 代码高亮
|
||||
* @see https://theme-plume.vuejs.press/config/plugins/code-highlight/
|
||||
*/
|
||||
// shiki: {
|
||||
// 强烈建议预设代码块高亮语言,插件默认加载所有语言会产生不必要的时间开销
|
||||
// languages: ['shell', 'bash', 'typescript', 'javascript'],
|
||||
// },
|
||||
|
||||
/**
|
||||
* markdown enhance
|
||||
* @see https://theme-plume.vuejs.press/config/plugins/markdown-enhance/
|
||||
*/
|
||||
markdownEnhance: {
|
||||
demo: true,
|
||||
// include: true,
|
||||
// chart: true,
|
||||
// echarts: true,
|
||||
// mermaid: true,
|
||||
// flowchart: true,
|
||||
},
|
||||
|
||||
/**
|
||||
* markdown power
|
||||
* @see https://theme-plume.vuejs.press/config/plugin/markdown-power/
|
||||
*/
|
||||
// markdownPower: {
|
||||
// pdf: true,
|
||||
// caniuse: true,
|
||||
// plot: true,
|
||||
// bilibili: true,
|
||||
// youtube: true,
|
||||
// icons: true,
|
||||
// codepen: true,
|
||||
// replit: true,
|
||||
// codeSandbox: true,
|
||||
// jsfiddle: true,
|
||||
// repl: {
|
||||
// go: true,
|
||||
// rust: true,
|
||||
// kotlin: true,
|
||||
// },
|
||||
// },
|
||||
|
||||
/**
|
||||
* 评论 comments
|
||||
* @see https://theme-plume.vuejs.press/guide/features/comments/
|
||||
*/
|
||||
// comment: {
|
||||
// provider: '', // "Artalk" | "Giscus" | "Twikoo" | "Waline"
|
||||
// comment: true,
|
||||
// repo: '',
|
||||
// repoId: '',
|
||||
// categoryId: '',
|
||||
// mapping: 'pathname',
|
||||
// reactionsEnabled: true,
|
||||
// inputPosition: 'top',
|
||||
// },
|
||||
},
|
||||
}),
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue