app/docs/.vuepress/config.ts

39 lines
1.1 KiB
TypeScript
Raw Normal View History

2024-03-28 11:12:55 +08:00
import {defineUserConfig} from "vuepress";
2024-03-28 10:50:19 +08:00
import theme from "./theme.js";
2024-03-28 11:12:55 +08:00
import viteBundler from "@vuepress/bundler-vite";
2024-03-28 10:50:19 +08:00
export default defineUserConfig({
2024-03-28 11:12:55 +08:00
base: "/",
2024-03-28 10:50:19 +08:00
2024-08-17 01:27:57 +08:00
locales: {
"/": {
// 设置正在使用的语言
lang: "zh-CN",
},
"/en/": {
// 设置正在使用的语言
lang: "en-US",
},
},
2024-03-31 19:23:15 +08:00
title: "LiteyukiBot 轻雪机器人",
description: "LiteyukiBot | 轻雪机器人 | An OneBot Standard ChatBot | 一个OneBot标准的聊天机器人",
2024-03-28 11:12:55 +08:00
head: [
// 设置 favor.ico.vuepress/public 下
2024-06-26 13:52:04 +08:00
["script", {src: "/js/style.js", "type": "module"}],
['link', {rel: 'icon', href: 'https://cdn.liteyuki.icu/favicon.ico'},],
['link', {rel: 'stylesheet', href: 'https://cdn.bootcdn.net/ajax/libs/firacode/6.2.0/fira_code.min.css'}],
2024-03-28 13:37:17 +08:00
[
"meta",
{
name: "viewport",
content: "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no",
},
],
2024-03-28 11:12:55 +08:00
],
2024-03-28 10:50:19 +08:00
2024-03-28 11:12:55 +08:00
theme,
// 和 PWA 一起启用
// shouldPrefetch: false,
2024-03-31 10:59:17 +08:00
});