Skip to content

Commit 08f7af0

Browse files
authored
📝 Docs: 修复格式化导致的语法错误 (#3737)
1 parent 62add13 commit 08f7af0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.github/**/*.md
22
website/docs/tutorial/application.mdx
3+
website/versioned_docs/*/tutorial/application.mdx

website/versioned_docs/version-2.4.4/tutorial/application.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import TabItem from "@theme/TabItem";
3434
1. (可选)创建虚拟环境,以 venv 为例
3535

3636
<Tabs groupId="platform">
37-
<TabItem value="windows" label="Windows" default>
37+
<TabItem value="windows" label="Windows" default>
3838

3939
```bash
4040
# 创建虚拟环境
@@ -44,7 +44,7 @@ import TabItem from "@theme/TabItem";
4444
```
4545

4646
</TabItem>
47-
<TabItem value="linux/macos" label="Linux/macOS">
47+
<TabItem value="linux/macos" label="Linux/macOS">
4848

4949
```bash
5050
# 创建虚拟环境
@@ -54,26 +54,26 @@ import TabItem from "@theme/TabItem";
5454
```
5555

5656
</TabItem>
57-
</Tabs>
57+
</Tabs>
5858

5959
2. 安装 nonebot2 以及驱动器,以 Fastapi 驱动器为例
6060

6161
<Tabs groupId="platform">
62-
<TabItem value="windows" label="Windows" default>
62+
<TabItem value="windows" label="Windows" default>
6363

6464
```bash
6565
pip install "nonebot2[fastapi]"
6666
```
6767

6868
</TabItem>
69-
<TabItem value="linux/macos" label="Linux/macOS">
69+
<TabItem value="linux/macos" label="Linux/macOS">
7070

7171
```bash
7272
pip install "nonebot2[fastapi]"
7373
```
7474

7575
</TabItem>
76-
</Tabs>
76+
</Tabs>
7777

7878
驱动器包名可以在 [驱动器商店](/store/drivers) 中找到,请替换上文方括号中的内容。
7979

0 commit comments

Comments
 (0)