From c18ed88f5282209fac12f7785f700ee091f47417 Mon Sep 17 00:00:00 2001 From: lazy <2512087764@qq.com> Date: Wed, 20 Dec 2023 21:47:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E7=82=B9=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/.vuepress/navbar.ts | 2 +- src/.vuepress/sidebar.ts | 47 ++++++++++++++++-------- src/posts/error/README.md | 4 +- src/posts/error/gocq.md | 13 +++++++ src/posts/error/mirai.md | 6 +-- src/posts/{develop => plugin}/develop.md | 0 6 files changed, 51 insertions(+), 21 deletions(-) create mode 100644 src/posts/error/gocq.md rename src/posts/{develop => plugin}/develop.md (100%) diff --git a/src/.vuepress/navbar.ts b/src/.vuepress/navbar.ts index 4472a0e0b..cd15fdad7 100644 --- a/src/.vuepress/navbar.ts +++ b/src/.vuepress/navbar.ts @@ -19,7 +19,7 @@ export default navbar([ icon: "discover", children: [ { - text: "常见报错", + text: "常见问题", icon: "info", link: "/posts/error/", }, diff --git a/src/.vuepress/sidebar.ts b/src/.vuepress/sidebar.ts index 28f08c6d6..580381f42 100644 --- a/src/.vuepress/sidebar.ts +++ b/src/.vuepress/sidebar.ts @@ -44,40 +44,57 @@ export default sidebar({ link: "posts/config-intro" }, { - text: "常见报错", + text: "常见问题", icon: "info", link: "posts/error/", prefix: "posts/error/", - children: "structure", + children: [ + { + text: "Mirai常见报错", + icon: "notice", + link: "mirai", + + }, + { + text: "go-cqhttp常见报错", + icon: "list", + link: "gocq", + }, + { + text: "问题解答", + icon: "blog", + link: "qchatgpt", + }, + ], }, { - text: "问题解答", - icon: "blog", - link: "posts/faq", - }, - { - text: "插件介绍", + text: "插件功能", icon: "plugin", prefix: "posts/plugin/", link: "posts/plugin/intro", - collapsible: true, + // collapsible: true, children: [ + { + text: "插件介绍", + icon: "info", + link: "intro", + }, { text: "插件列表", icon: "list", link: "list", }, + { + text: "插件开发", + icon: "code", + link: "develop", + }, ], }, { text: "技术信息", - icon: "code", + icon: "blog", link: "posts/develop/technology-info", }, - { - text: "插件开发", - icon: "editor", - link: "posts/develop/develop", - }, ], }); diff --git a/src/posts/error/README.md b/src/posts/error/README.md index d3545b966..aeb72c14b 100644 --- a/src/posts/error/README.md +++ b/src/posts/error/README.md @@ -3,12 +3,12 @@ head: - - meta - name: keywords content: ChatGPT QQ机器人报错,QChatGPT项目部署报错 -title: 常见报错 +title: 常见问题 icon: tree author: Lazy date: 2023-09-30 category: - - 常见报错 + - 常见问题 index: false --- \ No newline at end of file diff --git a/src/posts/error/gocq.md b/src/posts/error/gocq.md new file mode 100644 index 000000000..d23991004 --- /dev/null +++ b/src/posts/error/gocq.md @@ -0,0 +1,13 @@ +--- +head: + - - meta + - name: keywords + content: gocq常见报错 +title: Go-cqhttp报错 +icon: list +order: 1 +author: Lazy +date: 2023-12-20 +category: + - 常见问题 +--- diff --git a/src/posts/error/mirai.md b/src/posts/error/mirai.md index 62c6cf685..e917ed463 100644 --- a/src/posts/error/mirai.md +++ b/src/posts/error/mirai.md @@ -2,14 +2,14 @@ head: - - meta - name: keywords - content: mirai报错,ChatGPT QQ机器人报错,QChatGPT项目部署报错 -title: Mirai,Go-cqhttp报错 + content: Mirai报错 +title: Mirai报错 icon: notice order: 1 author: Lazy,ikun date: 2023-10-28 category: - - 常见报错 + - 常见问题 --- > 本人能力有限,报错收集将会逐步完善增补,望广大用户献计献策,众人拾柴火焰高,共同完善 :::info 目录 diff --git a/src/posts/develop/develop.md b/src/posts/plugin/develop.md similarity index 100% rename from src/posts/develop/develop.md rename to src/posts/plugin/develop.md