app/docs/.vuepress/config.ts

32 lines
987 B
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-03-28 11:12:55 +08:00
lang: "zh-CN",
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 下
['link', {rel: 'icon', href: 'https://cdn.liteyuki.icu/favicon.ico'},],
['link', {rel: 'stylesheet', href: 'https://fonts.cdnfonts.com/css/colortube-2'}],
['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-31 10:59:17 +08:00
2024-03-28 11:12:55 +08:00
theme,
// 和 PWA 一起启用
// shouldPrefetch: false,
2024-03-31 10:59:17 +08:00
});