From 5240784c0b8c32f44121659a09608167a7b297f4 Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Wed, 20 Dec 2023 11:26:45 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E4=B8=80=E7=BA=A7=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E7=AE=80=E7=9F=AD=E5=91=BD=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/.vuepress/navbar.ts | 4 ++-- src/.vuepress/sidebar.ts | 12 ++++++------ src/README.md | 2 +- src/posts/PluginsDevelop.md | 4 ++-- src/posts/{deploymentTutorial => deploy}/README.md | 0 .../{deploymentTutorial => deploy}/auto_app_linux.md | 0 .../{deploymentTutorial => deploy}/auto_app_win.md | 0 .../{deploymentTutorial => deploy}/auto_docker.md | 0 src/posts/{deploymentTutorial => deploy}/manual.md | 4 ++-- .../yirimiraiAndPythonForManual/pythonInstall.md | 0 .../yirimiraiAndPythonForManual/yirimirai.md | 0 .../{developTutorial => develop}/PluginsDevelop.md | 2 +- .../{developTutorial => develop}/technologyInfo.md | 0 src/posts/{commonErrors => errors}/README.md | 2 +- src/posts/{commonErrors => errors}/byMirai.md | 0 src/posts/{commonErrors => errors}/byQchatgpt.md | 0 src/posts/{pluginsAbout => plugins}/pluginsIntro.md | 0 src/posts/{pluginsAbout => plugins}/pluginsList.md | 0 src/posts/{pluginsAbout => plugins}/pluginsUse.md | 0 .../somePluginsUseTutorial/plugin_network.md | 2 +- .../somePluginsUseTutorial/plugin_voice.md | 2 +- 21 files changed, 17 insertions(+), 17 deletions(-) rename src/posts/{deploymentTutorial => deploy}/README.md (100%) rename src/posts/{deploymentTutorial => deploy}/auto_app_linux.md (100%) rename src/posts/{deploymentTutorial => deploy}/auto_app_win.md (100%) rename src/posts/{deploymentTutorial => deploy}/auto_docker.md (100%) rename src/posts/{deploymentTutorial => deploy}/manual.md (84%) rename src/posts/{deploymentTutorial => deploy}/yirimiraiAndPythonForManual/pythonInstall.md (100%) rename src/posts/{deploymentTutorial => deploy}/yirimiraiAndPythonForManual/yirimirai.md (100%) rename src/posts/{developTutorial => develop}/PluginsDevelop.md (97%) rename src/posts/{developTutorial => develop}/technologyInfo.md (100%) rename src/posts/{commonErrors => errors}/README.md (79%) rename src/posts/{commonErrors => errors}/byMirai.md (100%) rename src/posts/{commonErrors => errors}/byQchatgpt.md (100%) rename src/posts/{pluginsAbout => plugins}/pluginsIntro.md (100%) rename src/posts/{pluginsAbout => plugins}/pluginsList.md (100%) rename src/posts/{pluginsAbout => plugins}/pluginsUse.md (100%) rename src/posts/{pluginsAbout => plugins}/somePluginsUseTutorial/plugin_network.md (91%) rename src/posts/{pluginsAbout => plugins}/somePluginsUseTutorial/plugin_voice.md (97%) diff --git a/src/.vuepress/navbar.ts b/src/.vuepress/navbar.ts index 354602dcb..cba8f852b 100644 --- a/src/.vuepress/navbar.ts +++ b/src/.vuepress/navbar.ts @@ -2,7 +2,7 @@ import { navbar } from "vuepress-theme-hope"; export default navbar([ "/", - "/posts/deploymentTutorial/", + "/posts/deploy/", "/posts/Features", { text: "疑难解答", @@ -11,7 +11,7 @@ export default navbar([ { text: "常见报错", icon: "info", - link: "/posts/commonErrors/", + link: "/posts/errors/", }, { text: "问题解答", diff --git a/src/.vuepress/sidebar.ts b/src/.vuepress/sidebar.ts index b71440e98..afe06d4af 100644 --- a/src/.vuepress/sidebar.ts +++ b/src/.vuepress/sidebar.ts @@ -6,8 +6,8 @@ export default sidebar({ { text: "部署教程", icon: "blog", - prefix: "posts/deploymentTutorial/", - link: "posts/deploymentTutorial/", + prefix: "posts/deploy/", + link: "posts/deploy/", children: [ { text: "手动部署(推荐,可以在所有平台上使用)", @@ -41,8 +41,8 @@ export default sidebar({ { text: "常见报错", icon: "info", - link: "posts/commonErrors/", - prefix: "posts/commonErrors/", + link: "posts/errors/", + prefix: "posts/errors/", children: "structure", }, { @@ -55,8 +55,8 @@ export default sidebar({ { text: "插件介绍", icon: "plugin", - prefix: "posts/pluginsAbout/", - link: "posts/pluginsAbout/pluginsIntro", + prefix: "posts/plugins/", + link: "posts/plugins/pluginsIntro", collapsible: true, children: [ { diff --git a/src/README.md b/src/README.md index 1cebdf369..a1fd359c2 100644 --- a/src/README.md +++ b/src/README.md @@ -15,7 +15,7 @@ heroText: QChatGPT tagline: 😎高稳定性、🧩支持插件、🌏实时联网的 ChatGPT QQ 机器人🤖 | 支持 Claude、Google Bard、gpt4free、One API 的 QQ 机器人平台 actions: - text: 🚀 快速上手 - link: ./posts/deploymentTutorial/ + link: ./posts/deploy/ type: primary - text: 查看项目 diff --git a/src/posts/PluginsDevelop.md b/src/posts/PluginsDevelop.md index ac75dc4f0..022841c7e 100644 --- a/src/posts/PluginsDevelop.md +++ b/src/posts/PluginsDevelop.md @@ -12,8 +12,8 @@ category: index: false --- -> 请先阅读[插件使用页](/posts/pluginsAbout/pluginsIntro) -> 请先阅读[技术信息页](/posts/developTutorial/technologyInfo) +> 请先阅读[插件使用页](/posts/plugins/pluginsIntro) +> 请先阅读[技术信息页](/posts/develop/technologyInfo) > 建议先阅读本项目源码,了解项目架构 > 问题、需求请到仓库issue发起 diff --git a/src/posts/deploymentTutorial/README.md b/src/posts/deploy/README.md similarity index 100% rename from src/posts/deploymentTutorial/README.md rename to src/posts/deploy/README.md diff --git a/src/posts/deploymentTutorial/auto_app_linux.md b/src/posts/deploy/auto_app_linux.md similarity index 100% rename from src/posts/deploymentTutorial/auto_app_linux.md rename to src/posts/deploy/auto_app_linux.md diff --git a/src/posts/deploymentTutorial/auto_app_win.md b/src/posts/deploy/auto_app_win.md similarity index 100% rename from src/posts/deploymentTutorial/auto_app_win.md rename to src/posts/deploy/auto_app_win.md diff --git a/src/posts/deploymentTutorial/auto_docker.md b/src/posts/deploy/auto_docker.md similarity index 100% rename from src/posts/deploymentTutorial/auto_docker.md rename to src/posts/deploy/auto_docker.md diff --git a/src/posts/deploymentTutorial/manual.md b/src/posts/deploy/manual.md similarity index 84% rename from src/posts/deploymentTutorial/manual.md rename to src/posts/deploy/manual.md index 5996e04b0..6376b5d67 100644 --- a/src/posts/deploymentTutorial/manual.md +++ b/src/posts/deploy/manual.md @@ -12,7 +12,7 @@ category: - 部署教程 --- :::warning -请使用Python 3.9.x以上版本,没有Python的需自行安装,参考[此教程](/posts/deploymentTutorial/yirimiraiAndPythonForManual/pythonInstall.md) +请使用Python 3.9.x以上版本,没有Python的需自行安装,参考[此教程](/posts/deploy/yirimiraiAndPythonForManual/pythonInstall.md) ::: :::info 目录 @@ -26,7 +26,7 @@ category:
mirai -1. 按照[此教程](/posts/deploymentTutorial/yirimiraiANDpythonForManual/yirimirai.md)配置Mirai及mirai-api-http +1. 按照[此教程](/posts/deploy/yirimiraiANDpythonForManual/yirimirai.md)配置Mirai及mirai-api-http 2. 启动mirai-console后,使用`login`命令登录QQ账号,保持mirai-console运行状态 3. 在下一步配置主程序时请在config.py中将`msg_source_adapter`设为`yirimirai` diff --git a/src/posts/deploymentTutorial/yirimiraiAndPythonForManual/pythonInstall.md b/src/posts/deploy/yirimiraiAndPythonForManual/pythonInstall.md similarity index 100% rename from src/posts/deploymentTutorial/yirimiraiAndPythonForManual/pythonInstall.md rename to src/posts/deploy/yirimiraiAndPythonForManual/pythonInstall.md diff --git a/src/posts/deploymentTutorial/yirimiraiAndPythonForManual/yirimirai.md b/src/posts/deploy/yirimiraiAndPythonForManual/yirimirai.md similarity index 100% rename from src/posts/deploymentTutorial/yirimiraiAndPythonForManual/yirimirai.md rename to src/posts/deploy/yirimiraiAndPythonForManual/yirimirai.md diff --git a/src/posts/developTutorial/PluginsDevelop.md b/src/posts/develop/PluginsDevelop.md similarity index 97% rename from src/posts/developTutorial/PluginsDevelop.md rename to src/posts/develop/PluginsDevelop.md index cd4575e16..8250d49a8 100644 --- a/src/posts/developTutorial/PluginsDevelop.md +++ b/src/posts/develop/PluginsDevelop.md @@ -12,7 +12,7 @@ category: index: false --- -> 请先阅读[插件使用页](/posts/pluginsAbout/pluginsIntro) +> 请先阅读[插件使用页](/posts/plugins/pluginsIntro) > 请先阅读[技术信息页](https://github.com/RockChinQ/QChatGPT/wiki/4-%E6%8A%80%E6%9C%AF%E4%BF%A1%E6%81%AF) > 建议先阅读本项目源码,了解项目架构 diff --git a/src/posts/developTutorial/technologyInfo.md b/src/posts/develop/technologyInfo.md similarity index 100% rename from src/posts/developTutorial/technologyInfo.md rename to src/posts/develop/technologyInfo.md diff --git a/src/posts/commonErrors/README.md b/src/posts/errors/README.md similarity index 79% rename from src/posts/commonErrors/README.md rename to src/posts/errors/README.md index d47ce35ac..b3fca0773 100644 --- a/src/posts/commonErrors/README.md +++ b/src/posts/errors/README.md @@ -11,4 +11,4 @@ category: - 常见报错 index: false --- - \ No newline at end of file + \ No newline at end of file diff --git a/src/posts/commonErrors/byMirai.md b/src/posts/errors/byMirai.md similarity index 100% rename from src/posts/commonErrors/byMirai.md rename to src/posts/errors/byMirai.md diff --git a/src/posts/commonErrors/byQchatgpt.md b/src/posts/errors/byQchatgpt.md similarity index 100% rename from src/posts/commonErrors/byQchatgpt.md rename to src/posts/errors/byQchatgpt.md diff --git a/src/posts/pluginsAbout/pluginsIntro.md b/src/posts/plugins/pluginsIntro.md similarity index 100% rename from src/posts/pluginsAbout/pluginsIntro.md rename to src/posts/plugins/pluginsIntro.md diff --git a/src/posts/pluginsAbout/pluginsList.md b/src/posts/plugins/pluginsList.md similarity index 100% rename from src/posts/pluginsAbout/pluginsList.md rename to src/posts/plugins/pluginsList.md diff --git a/src/posts/pluginsAbout/pluginsUse.md b/src/posts/plugins/pluginsUse.md similarity index 100% rename from src/posts/pluginsAbout/pluginsUse.md rename to src/posts/plugins/pluginsUse.md diff --git a/src/posts/pluginsAbout/somePluginsUseTutorial/plugin_network.md b/src/posts/plugins/somePluginsUseTutorial/plugin_network.md similarity index 91% rename from src/posts/pluginsAbout/somePluginsUseTutorial/plugin_network.md rename to src/posts/plugins/somePluginsUseTutorial/plugin_network.md index 0bf38fc54..622b2219d 100644 --- a/src/posts/pluginsAbout/somePluginsUseTutorial/plugin_network.md +++ b/src/posts/plugins/somePluginsUseTutorial/plugin_network.md @@ -13,7 +13,7 @@ category: --- > 本期教程操作需要网络使用魔法,请自行解决 -前提:已经安装了QChatGPT和mirai,没有安装的请根据[部署教程](../deploymentTutorial/README.md)自行安装 +前提:已经安装了QChatGPT和mirai,没有安装的请根据[部署教程](../deploy/README.md)自行安装 打开这个网页 diff --git a/src/posts/pluginsAbout/somePluginsUseTutorial/plugin_voice.md b/src/posts/plugins/somePluginsUseTutorial/plugin_voice.md similarity index 97% rename from src/posts/pluginsAbout/somePluginsUseTutorial/plugin_voice.md rename to src/posts/plugins/somePluginsUseTutorial/plugin_voice.md index e85117e5d..9d7d5fc42 100644 --- a/src/posts/pluginsAbout/somePluginsUseTutorial/plugin_voice.md +++ b/src/posts/plugins/somePluginsUseTutorial/plugin_voice.md @@ -21,7 +21,7 @@ category: > 本教程为尽可能地简化部署流程,降低部署难度,特意提供了项目所需的python包(内含所需依赖)和chat_voice包(**已经对内容进行了修改**) -前提:已经安装了QChatGPT和mirai,没有安装的请根据[部署教程](../deploymentTutorial/README.md)自行安装 +前提:已经安装了QChatGPT和mirai,没有安装的请根据[部署教程](../deploy/README.md)自行安装 ## 准备工作