Skip to content

Commit dc15bf4

Browse files
committed
docs: fix contributing
1 parent f2e61cc commit dc15bf4

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,22 @@ npm install
4242
npm run docs:dev #运行预览环境
4343
```
4444
```bash
45-
npm run docs:bulid #编译线上环境
45+
npm run docs:build #编译线上环境
4646
npm run docs:preview #预览线上环境
4747
```
4848

49+
## 图片放置指南
50+
51+
图片放置在当前大章节的 `static` 目录下,然后在 md 文件中使用相对路径引用。
52+
53+
```markdown
54+
![](static/xxx.png)
55+
```
56+
57+
注意尽量不要使用 `img` 标签,因为经前端构建解析后路径会不正确。
58+
59+
后续会统一放置到 oss 存储桶中。
60+
4961
## 项目配置指南
5062

5163
修改新添加或移动位置的 md 文件需要在 `.vitepress/config.js` 中的 `sidebar` 中添加或修改对应的配置。

0 commit comments

Comments
 (0)