OpenMMLab 贡献者成长体系教程
  • OpenMMLab 贡献者成长地图
  • 活动
    • 超级视客营
    • MMSIG任务领取指南
  • 通用贡献者教程(建设中)
    • 开源协议学习(建设中)
    • 环境配置(建设中)
      • Windows 环境配置
      • Github Codespaces 云 Linux 环境
      • Windows WSL 环境配置
      • Ubuntu 20.04 环境配置(建设中 2)
      • ubuntu docker 环境配置
    • 熟悉 GitHub/Git(建设中)
    • 代码规范
    • 文档类贡献指南(建设中)
      • MMSIG 文档贡献指南 (建设中)
      • 算法库文档贡献指南 (建设中)
    • Type Hints 贡献指南(建设中)
    • 单元测试贡献指南(建设中)
    • 源码阅读及调试技巧(建设中)
  • 算法库贡献者教程(建设中)
    • Playground(建设中)
    • MMEngine(建设中)
      • 新 Config 适配贡献指南
    • MMCV(建设中)
      • Transform 数据增强贡献指南
      • 算子贡献指南(建设中)
    • MMPreTrain(建设中)
      • 骨干网络贡献指南(建设中)
      • 自监督算法贡献指南(建设中)
    • MMDetection(建设中)
    • MMYOLO(建设中)
    • MMDetection3D(建设中)
    • MMOCR (建设中)
    • MMSegmentation(建设中)
      • 贡献一个标准格式的数据集
      • 贡献一个数据集加载方式(建设中)
    • MMPose (建设中)
    • MMEditing(建设中)
    • MMDeploy (建设中)
由 GitBook 提供支持
在本页
  • 1. Fork Github 仓库
  • 2. 编辑 markdown 文档
  • 3. 提 PR (Pull Request)

这有帮助吗?

在GitHub上编辑
  1. 通用贡献者教程(建设中)
  2. 文档类贡献指南(建设中)

MMSIG 文档贡献指南 (建设中)

上一页文档类贡献指南(建设中)下一页算法库文档贡献指南 (建设中)

最后更新于1年前

这有帮助吗?

给本 MMSIG 贡献者教程贡献的步骤如下:

  • Fork 仓库

  • 编辑文档

  • 创建 PR (Pull Requests)

  • OpenMMLab 社区管理员 Merge PR

1. Fork Github 仓库

点击进入 进入 OpenMMLabCamp 仓库 mmsig 分支,然后点击 Fork。

image

取消勾选 Copy the main branch only,并点击 Create fork。

这样就把 OpenMMLabCamp 的仓库 Fork 到自己账号下面了,可以看到本教程的演示账号 OpenMMLab-Assistant-004 下面多了一个 OpenMMLabCamp 的 仓库。

2. 编辑 markdown 文档

我们点击自己账号中 OpenMMLabCamp 仓库,切换到 mmsig 分支。

在 OpenMMLabCamp 的 mmsig 分支找到需要编辑的对应文档,我们点击进行编辑。

在 Edit file 中能够编辑 markdown 格式的文档。

点击 Preview 能够预览 Markdown 渲染出来的文档。

3. 提 PR (Pull Request)

在完成文档的编辑后,我们在底部的 Commit changes 中选择 ** Create a new branch for this commit and start a pull request.**, 并给分支命名,这里命名为 update_mmsig_doc 分支,然后点击 Propose changes

点击 compare across forks, 并选择刚刚选择 OpenMMLab-Assistant-004/OpenMMLabCamp中的 update_mmsig_doc 分支 创建 Pull Request 到 open-mmlab/OpenMMLabCamp中的 mmsig 分支,编辑好Pull Request 的标题和详细内容后,点击 Create pull request。

此时在浏览器地址栏能得到此 PR 的链接,可以在 PR 链接中追踪状态,并等待 OpenMMLab 社区管理员对 PR 进行 Review 和 Merge。

如果社区管理员没有直接 merge 而是给出了一下修改建议,请在上文中对应的 OpenMMLab-Assistant-004/OpenMMLabCamp中的 update_mmsig_doc 分支中对应的文档进行修改。

修改 PR 中的内容,不需要重新创建新的分支,只需要在原来的 PR 对应的分支上修改内容,并在修改内容后填写 commit changes 的标题和内容,并选择 Commit directly to the update_mmsig_doc branch. 并点击 Commit changes 。此时在 PR 界面出现了 [Fix] fix typo 的记录,我们点击 Resolve conversation。

经过和社区管理员的多轮 review 与修改后,PR 就 Merge 了。

创建新 fork
image
image
image
image
image
image
img_v2_cef1434b-45f3-4e2b-ac30-421d81194b9g
img_v2_1db926da-0eec-422f-a81d-e906c1e95a5g
image
image
image
https://github.com/open-mmlab/OpenMMLabCamp/tree/mmsig