New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

翻译文档同步计划 #6

Closed
Muyangmin opened this Issue Sep 26, 2017 · 0 comments

Comments

1 participant
@Muyangmin
Copy link
Owner

Muyangmin commented Sep 26, 2017

因官方文档仓库 glide 经常修改文档内容,很容易造成中文版与英文版不同步的情况,故打算使用脚本自动维护文档的一致性。

具体计划:

  1. 对源地址的 _posts 文件夹完全拷贝一份,放置在本仓库的 mirror 文件夹下;
  2. 定期调用 GitHub Contents API,遍历对比源地址和本仓库的镜像文档 sha 值;
  3. 如果发现有 sha 值不一致的文件,或源地址增删了文件,则使用机器人账户在本仓库发起一个 Issue 并等待维护者 review。
  4. Optional 如果文档完全一致,则修改本项目下的 footer 文件,注明最后同步日期。

Muyangmin added a commit that referenced this issue Sep 26, 2017

@Muyangmin Muyangmin closed this Sep 28, 2017

Muyangmin added a commit that referenced this issue Sep 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment