mirror of
https://github.com/RainCraft-Server/raincraft-server.github.io.git
synced 2025-12-15 12:47:44 +00:00
89 lines
2.1 KiB
TypeScript
89 lines
2.1 KiB
TypeScript
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',
|
|
// },
|
|
},
|
|
}),
|
|
})
|