From 2a07b49cb7be5bd9429e0e3a2744fb2215f6c55c Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Mon, 12 Apr 2021 23:34:23 +0800 Subject: [PATCH 1/2] :memo: tweak --- docs/guide/installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 04e5e7af..ccd732d7 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -72,7 +72,7 @@ pip install . # 不推荐 适配器可以通过 `nb-cli` 在创建项目时根据你的选择自动安装,也可以自行使用 `pip` 安装 ```bash -pip install nonebot-adapter- +pip install ``` ```bash @@ -88,9 +88,9 @@ nb adapter list # 列出所有的插件 nb plugin list # 搜索插件 -nb plugin search xxx +nb plugin search # 安装插件 -nb plugin install xxx +nb plugin install ``` 如果急于上线 Bot 或想要使用现成的插件,以下插件可作为参考: From 7d189392d21649c91a2835aab427d43db0e992b7 Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Tue, 13 Apr 2021 00:24:49 +0800 Subject: [PATCH 2/2] :memo: recommend pylance --- docs/guide/creating-a-plugin.md | 2 +- docs/guide/installation.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/guide/creating-a-plugin.md b/docs/guide/creating-a-plugin.md index 5ce12a28..f5deb009 100644 --- a/docs/guide/creating-a-plugin.md +++ b/docs/guide/creating-a-plugin.md @@ -8,7 +8,7 @@ nb plugin new ``` -插件通常有两种形式,下面分别介绍 +下面分别对两种通常的插件形式做具体介绍 ## 单文件形式 diff --git a/docs/guide/installation.md b/docs/guide/installation.md index ccd732d7..7ec708f5 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -107,3 +107,9 @@ nb plugin install ### 其他插件 还有更多的插件在 [这里](/plugin-store.md) 等着你发现~ + +## 安装开发环境(可选) + +NoneBot v2 全程使用 `VSCode` 搭配 `Pylance` 的开发环境进行开发,在严格的类型检查下,NoneBot v2 具有完善的类型设计与声明。 + +在使用`VSCode` 搭配 `Pylance` 进行类型检查的开发环境下,开发者能更加迅速定位并解决问题。