mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-11-22 04:36:24 +00:00
📝 Docs: 修复格式化导致的语法错误 (#3737)
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
.github/**/*.md
|
||||
website/docs/tutorial/application.mdx
|
||||
website/versioned_docs/*/tutorial/application.mdx
|
||||
|
||||
@@ -34,7 +34,7 @@ import TabItem from "@theme/TabItem";
|
||||
1. (可选)创建虚拟环境,以 venv 为例
|
||||
|
||||
<Tabs groupId="platform">
|
||||
<TabItem value="windows" label="Windows" default>
|
||||
<TabItem value="windows" label="Windows" default>
|
||||
|
||||
```bash
|
||||
# 创建虚拟环境
|
||||
@@ -44,7 +44,7 @@ import TabItem from "@theme/TabItem";
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="linux/macos" label="Linux/macOS">
|
||||
<TabItem value="linux/macos" label="Linux/macOS">
|
||||
|
||||
```bash
|
||||
# 创建虚拟环境
|
||||
@@ -54,26 +54,26 @@ import TabItem from "@theme/TabItem";
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
</Tabs>
|
||||
|
||||
2. 安装 nonebot2 以及驱动器,以 Fastapi 驱动器为例
|
||||
|
||||
<Tabs groupId="platform">
|
||||
<TabItem value="windows" label="Windows" default>
|
||||
<TabItem value="windows" label="Windows" default>
|
||||
|
||||
```bash
|
||||
pip install "nonebot2[fastapi]"
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value="linux/macos" label="Linux/macOS">
|
||||
<TabItem value="linux/macos" label="Linux/macOS">
|
||||
|
||||
```bash
|
||||
pip install "nonebot2[fastapi]"
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
</Tabs>
|
||||
|
||||
驱动器包名可以在 [驱动器商店](/store/drivers) 中找到,请替换上文方括号中的内容。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user