From d42d975d9e2435cf531477e417e3d53560ca1130 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Fri, 4 Dec 2020 17:56:08 +0000 Subject: [PATCH 1/3] =?UTF-8?q?:beers:=20publish=20=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=9C=BA=E5=99=A8=E4=BA=BA=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/public/plugins.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/.vuepress/public/plugins.json b/docs/.vuepress/public/plugins.json index 6fa84155..e1363575 100644 --- a/docs/.vuepress/public/plugins.json +++ b/docs/.vuepress/public/plugins.json @@ -38,5 +38,13 @@ "desc": "使用Sentry监控机器人日志并处理报错", "name": "Sentry日志监控", "repo": "cscs181/QQ-GitHub-Bot/tree/master/src/plugins/nonebot_plugin_sentry" + }, + { + "id": "nonebot_plugin_test", + "link": "nonebot-plugin-test", + "author": "yanyongyu", + "desc": "在浏览器中测试你的 NoneBot 机器人", + "name": "前端测试机器人插件", + "repo": "nonebot/plugin-test" } ] \ No newline at end of file From 997114477c1fff39b0b9f41205f9807907b83dd0 Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Fri, 4 Dec 2020 18:00:08 +0000 Subject: [PATCH 2/3] =?UTF-8?q?:beers:=20publish=20=E5=AE=9A=E6=97=B6?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/public/plugins.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/.vuepress/public/plugins.json b/docs/.vuepress/public/plugins.json index e1363575..fdf436a8 100644 --- a/docs/.vuepress/public/plugins.json +++ b/docs/.vuepress/public/plugins.json @@ -46,5 +46,13 @@ "desc": "在浏览器中测试你的 NoneBot 机器人", "name": "前端测试机器人插件", "repo": "nonebot/plugin-test" + }, + { + "id": "nonebot_plugin_apscheduler", + "link": "nonebot-plugin-apscheduler", + "author": "yanyongyu", + "desc": "APScheduler 定时任务插件", + "name": "定时任务", + "repo": "nonebot/plugin-apscheduler" } ] \ No newline at end of file From de64e38a07a70649718e4963da4fc759dc1d306c Mon Sep 17 00:00:00 2001 From: Mix <32300164+mnixry@users.noreply.github.com> Date: Sat, 5 Dec 2020 13:06:27 +0800 Subject: [PATCH 3/3] :memo: Optimize expression in installation.md --- docs/guide/installation.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/guide/installation.md b/docs/guide/installation.md index b7259254..2778371e 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -17,7 +17,7 @@ pip uninstall nonebot ### 通过脚手架安装(推荐安装方式) -1. (可选)使用你喜欢的 Python 环境管理工具创建新的虚拟环境。 +1. (推荐)使用你喜欢的 Python 环境管理工具(如`poetry`)创建新的虚拟环境。 2. 使用 `pip` (或其他) 安装 NoneBot 脚手架。 ```bash @@ -33,22 +33,27 @@ pip uninstall nonebot ### 不使用脚手架(纯净安装) ```bash -# poetry +# 在使用poetry的情况下 poetry add nonebot2 -# pip +# 在使用pip的情况下 pip install nonebot2 ``` 如果你需要使用最新的(可能**尚未发布**的)特性,可以直接从 GitHub 仓库安装: +:::warning 注意 +直接从Github仓库中安装意味着你将使用最新提交的代码,它们并没有进行充分的稳定性测试 +在任何情况下请不要将其应用于生产环境! +::: + ```bash -# master +# master分支 poetry add git+https://github.com/nonebot/nonebot2.git#master -# dev +# dev分支 poetry add git+https://github.com/nonebot/nonebot2.git#dev ``` -或者克隆 Git 仓库后手动安装: +或者在克隆 Git 仓库后手动安装: ```bash git clone https://github.com/nonebot/nonebot2.git