📝 update vuepress and readme

This commit is contained in:
felinae98 2023-01-05 19:18:17 +08:00
parent 290e19868d
commit f1c1d0297c
5 changed files with 457 additions and 450 deletions

View File

@ -8,7 +8,7 @@
[![codecov](https://codecov.io/gh/felinae98/nonebot-bison/branch/main/graph/badge.svg?token=QCFIODJOOA)](https://codecov.io/gh/felinae98/nonebot-bison)
[![qq group](https://img.shields.io/badge/QQ%E7%BE%A4-868610060-orange)](https://qm.qq.com/cgi-bin/qm/qr?k=pXYMGB_e8b6so3QTqgeV6lkKDtEeYE4f&jump_from=webapi)
[文档](https://nonebot-bison.vercel.app)|[开发文档](https://nonebot-bison.vercel.app/dev)
[文档](https://nonebot-bison.netlify.app)|[开发文档](https://nonebot-bison.netlify.app/dev)
</div>

View File

@ -1,12 +0,0 @@
module.exports = {
title: 'Nonebot Bison',
description: 'Docs for Nonebot Bison',
themeConfig: {
navbar: [
{ text: '主页', link: '/' },
{ text: '部署与使用', link: '/usage/' },
{ text: '开发', link: '/dev/' },
{ text: 'Github', link: 'https://github.com/felinae98/nonebot-bison' }
]
}
}

14
docs/.vuepress/config.ts Normal file
View File

@ -0,0 +1,14 @@
import { defineUserConfig, defaultTheme } from "vuepress";
export default defineUserConfig({
title: "Nonebot Bison",
description: "Docs for Nonebot Bison",
theme: defaultTheme({
navbar: [
{ text: "主页", link: "/" },
{ text: "部署与使用", link: "/usage/" },
{ text: "开发", link: "/dev/" },
{ text: "Github", link: "https://github.com/felinae98/nonebot-bison" },
],
}),
});

View File

@ -8,9 +8,9 @@
"license": "MIT",
"private": false,
"devDependencies": {
"@vuepress/client": "2.0.0-beta.53",
"@vuepress/client": "2.0.0-beta.60",
"vue": "^3.2.45",
"vuepress": "2.0.0-beta.53"
"vuepress": "2.0.0-beta.60"
},
"scripts": {
"docs:dev": "vuepress dev docs",

875
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff