You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2019/04/20 05:56:33 UTC
[flink-web] branch asf-site updated: Add document update check item
to review process
This is an automated email from the ASF dual-hosted git repository.
jark pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/flink-web.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 45284a3 Add document update check item to review process
45284a3 is described below
commit 45284a3a5adf7216f14ba63927a1935d50f50811
Author: 云邪 <wu...@alibaba-inc.com>
AuthorDate: Fri Mar 15 11:28:15 2019 +0800
Add document update check item to review process
This closes #190
---
content/contribute-documentation.html | 9 +++++++++
content/reviewing-prs.html | 9 +++++++++
content/zh/contribute-documentation.html | 13 +++++++++++--
content/zh/reviewing-prs.html | 9 +++++++++
contribute-documentation.md | 8 ++++++++
contribute-documentation.zh.md | 8 ++++++++
reviewing-prs.md | 8 ++++++++
reviewing-prs.zh.md | 8 ++++++++
8 files changed, 70 insertions(+), 2 deletions(-)
diff --git a/content/contribute-documentation.html b/content/contribute-documentation.html
index be5d1ef..e0cbaf6 100644
--- a/content/contribute-documentation.html
+++ b/content/contribute-documentation.html
@@ -161,6 +161,7 @@
<li><a href="#obtain-the-documentation-sources" id="markdown-toc-obtain-the-documentation-sources">Obtain the documentation sources</a></li>
<li><a href="#before-you-start-working-on-the-documentation-" id="markdown-toc-before-you-start-working-on-the-documentation-">Before you start working on the documentation …</a></li>
<li><a href="#update-or-extend-the-documentation" id="markdown-toc-update-or-extend-the-documentation">Update or extend the documentation</a></li>
+ <li><a href="#chinese-documentation-translation" id="markdown-toc-chinese-documentation-translation">Chinese documentation translation</a></li>
<li><a href="#submit-your-contribution" id="markdown-toc-submit-your-contribution">Submit your contribution</a></li>
</ul>
@@ -197,6 +198,14 @@
<p>Please feel free to ask any questions you have on the developer mailing list.</p>
+<h2 id="chinese-documentation-translation">Chinese documentation translation</h2>
+
+<p>The Flink community is maintaining both English and Chinese documentation. If you want to update or extend the documentation, both English and Chinese documentation should be updated. If you are not familiar with Chinese language, please open a JIRA tagged with the <code>chinese-translation</code> component for Chinese documentation translation and link it with the current JIRA issue. If you are familiar with Chinese language, you are encouraged to update both sides in one pull request.</p>
+
+<p><em>NOTE: The Flink community is still in the process of translating Chinese documentations, some documents may not have been translated yet. If the document you are updating is not translated yet, you can just copy the English changes to the Chinese document.</em></p>
+
+<p>The Chinese documents are located in the same folders as the corresponding English documents. The files for both languages have the same names except that the Chinese version have the <code>.zh.md</code> suffix. You can update or extend the <code>.zh.md</code> file according to the English documents changes. If the corresponding <code>.zh.md</code> file doesn’t exited, just copy the existed English file and rename to <code>.zh.md</code> suffix. It will generate under <code>/zh</code> [...]
+
<h2 id="submit-your-contribution">Submit your contribution</h2>
<p>The Flink project accepts documentation contributions through the <a href="https://github.com/apache/flink">GitHub Mirror</a> as <a href="https://help.github.com/articles/using-pull-requests">Pull Requests</a>. Pull requests are a simple way of offering a patch by providing a pointer to a code branch that contains the changes.</p>
diff --git a/content/reviewing-prs.html b/content/reviewing-prs.html
index edd7842..2d7ec6a 100644
--- a/content/reviewing-prs.html
+++ b/content/reviewing-prs.html
@@ -175,6 +175,7 @@
<li><a href="#does-the-contribution-need-attention-from-some-specific-committers-and-is-there-time-commitment-from-these-committers" id="markdown-toc-does-the-contribution-need-attention-from-some-specific-committers-and-is-there-time-commitment-from-these-committers">3. Does the Contribution Need Attention from some Specific Committers and Is There Time Commitment from These Committers?</a></li>
<li><a href="#does-the-implementation-follow-the-right-overall-approacharchitecture" id="markdown-toc-does-the-implementation-follow-the-right-overall-approacharchitecture">4. Does the Implementation Follow the Right Overall Approach/Architecture?</a></li>
<li><a href="#is-the-overall-code-quality-good-meeting-standard-we-want-to-maintain-in-flink" id="markdown-toc-is-the-overall-code-quality-good-meeting-standard-we-want-to-maintain-in-flink">5. Is the Overall Code Quality Good, Meeting Standard we Want to Maintain in Flink?</a></li>
+ <li><a href="#are-english-and-chinese-documentation-updated" id="markdown-toc-are-english-and-chinese-documentation-updated">6. Are English and Chinese documentation updated?</a></li>
</ul>
</li>
<li><a href="#review-with-the-flinkbot" id="markdown-toc-review-with-the-flinkbot">Review with the @flinkbot</a></li>
@@ -264,6 +265,14 @@ This question should be answerable from the Pull Request description (or the lin
<p>Some code style guidelines can be found in the <a href="/contribute-code.html#code-style">Flink Code Style Page</a></p>
+<hr />
+
+<h3 id="are-english-and-chinese-documentation-updated">6. Are English and Chinese documentation updated?</h3>
+
+<p>If the pull request introduces a new feature, the feature should be documented. The Flink community is maintaining both English and Chinese documents. So both English and Chinese documentation should be updated. If you are not familiar with Chinese language, please open a JIRA tagged with the <code>chinese-translation</code> component for Chinese documentation translation and link it with current JIRA issue. If you are familiar with Chinese language, you are encouraged to update both [...]
+
+<p>See more about how to <a href="https://flink.apache.org/contribute-documentation.html">contribute documentation</a>.</p>
+
<h2 id="review-with-the-flinkbot">Review with the @flinkbot</h2>
<p>The Flink community is using a service called <a href="https://github.com/flinkbot">@flinkbot</a> to help with the review of the pull requests.</p>
diff --git a/content/zh/contribute-documentation.html b/content/zh/contribute-documentation.html
index ecf478b..7ec875d 100644
--- a/content/zh/contribute-documentation.html
+++ b/content/zh/contribute-documentation.html
@@ -159,7 +159,8 @@
<li><a href="#section" id="markdown-toc-section">获取文档资源</a></li>
<li><a href="#section-1" id="markdown-toc-section-1">在开始贡献文档之前…</a></li>
<li><a href="#section-2" id="markdown-toc-section-2">更新或扩展文档</a></li>
- <li><a href="#section-3" id="markdown-toc-section-3">提交你的贡献</a></li>
+ <li><a href="#section-3" id="markdown-toc-section-3">中文文档翻译</a></li>
+ <li><a href="#section-4" id="markdown-toc-section-4">提交你的贡献</a></li>
</ul>
</div>
@@ -195,7 +196,15 @@
<p>如果有任何疑问,请在开发者邮件列表随时提问。</p>
-<h2 id="section-3">提交你的贡献</h2>
+<h2 id="section-3">中文文档翻译</h2>
+
+<p>Flink 社区正在同时维护英文和中文文档。所以如果你想要更新或扩展文档,英文和中文文档都需要更新。如果你不熟悉中文,请创建一个用于中文文档翻译的 JIRA 并附上 <code>chinese-translation</code> 的组件名,并与当前JIRA关联起来。如果你熟悉中文,我们鼓励在一个 pull request 中同时更新两边的文档。</p>
+
+<p><em>注意:Flink 社区目前正在翻译中文文档,有部分文档可能还未翻译。如果你正在更新的文档还未翻译,可以简单地将英文改动复制到中文文档中。</em></p>
+
+<p>中文文档与对应的英文文档位于相同的目录下。两种语言的文件名是一样的,只不过中文文档会以 <code>.zh.md</code> 作为后缀。你可以根据英文文档的改动来更新或扩展 <code>.zh.md</code> 文件。如果对应的 <code>.zh.md</code> 文件还未创建,你可以拷贝现有的英文文件,名称以 <code>.zh.md</code> 作为后缀。它将在 <code>/zh</code> 文件夹下生成与英文文档同名的 html 文件。</p>
+
+<h2 id="section-4">提交你的贡献</h2>
<p>Flink 项目通过 <a href="https://github.com/apache/flink">GitHub Mirror</a> 的 <a href="https://help.github.com/articles/using-pull-requests">Pull Request</a> 方式接受文档的贡献。Pull request 是一种提供补丁的简单方法,它提供了一个指向包含更改的代码分支的链接。</p>
diff --git a/content/zh/reviewing-prs.html b/content/zh/reviewing-prs.html
index 60fb67c..ae41c41 100644
--- a/content/zh/reviewing-prs.html
+++ b/content/zh/reviewing-prs.html
@@ -173,6 +173,7 @@
<li><a href="#committer--committer-" id="markdown-toc-committer--committer-">3. 贡献是否需要一些特定的 committer 的关注,这些 committer 有时间投入吗?</a></li>
<li><a href="#section-2" id="markdown-toc-section-2">4. 实现的整体方案或架构是否正确?</a></li>
<li><a href="#flink-" id="markdown-toc-flink-">5.整体代码质量是否良好,是否符合我们希望在 Flink 中维护的标准?</a></li>
+ <li><a href="#section-3" id="markdown-toc-section-3">6. 英文和中文文档是否都更新了?</a></li>
</ul>
</li>
<li><a href="#flinkbot-" id="markdown-toc-flinkbot-">使用 @flinkbot 进行审核</a></li>
@@ -262,6 +263,14 @@
<p>可以在 <a href="/zh/contribute-code.html#code-style">Flink代码样式页面</a> 中找到一些代码样式指南。</p>
+<hr />
+
+<h3 id="section-3">6. 英文和中文文档是否都更新了?</h3>
+
+<p>如果这个 pull request 引入了一个新功能,该功能应该被文档化。Flink 社区正在同时维护英文和中文文档。所以如果你想要更新或扩展文档,英文和中文文档都需要更新。如果你不熟悉中文,请创建一个用于中文文档翻译的 JIRA 并附上 <code>chinese-translation</code> 的组件名,并与当前 JIRA 关联起来。如果你熟悉中文,我们鼓励在一个 pull request 中同时更新两边的文档。</p>
+
+<p>阅读<a href="https://flink.apache.org/zh/contribute-documentation.html">如何贡献文档</a>了解更多。</p>
+
<h2 id="flinkbot-">使用 @flinkbot 进行审核</h2>
<p>Flink 社区正在使用名为 <a href="https://github.com/flinkbot">@flinkbot</a> 的服务来帮助审核 pull request。</p>
diff --git a/contribute-documentation.md b/contribute-documentation.md
index 27c1db1..00ea12c 100644
--- a/contribute-documentation.md
+++ b/contribute-documentation.md
@@ -39,6 +39,14 @@ The script compiles the Markdown files into static HTML pages and starts a local
Please feel free to ask any questions you have on the developer mailing list.
+## Chinese documentation translation
+
+The Flink community is maintaining both English and Chinese documentation. If you want to update or extend the documentation, both English and Chinese documentation should be updated. If you are not familiar with Chinese language, please open a JIRA tagged with the `chinese-translation` component for Chinese documentation translation and link it with the current JIRA issue. If you are familiar with Chinese language, you are encouraged to update both sides in one pull request.
+
+*NOTE: The Flink community is still in the process of translating Chinese documentations, some documents may not have been translated yet. If the document you are updating is not translated yet, you can just copy the English changes to the Chinese document.*
+
+The Chinese documents are located in the same folders as the corresponding English documents. The files for both languages have the same names except that the Chinese version have the `.zh.md` suffix. You can update or extend the `.zh.md` file according to the English documents changes. If the corresponding `.zh.md` file doesn't exited, just copy the existed English file and rename to `.zh.md` suffix. It will generate under `/zh` folder with same name as html file.
+
## Submit your contribution
The Flink project accepts documentation contributions through the [GitHub Mirror](https://github.com/apache/flink) as [Pull Requests](https://help.github.com/articles/using-pull-requests). Pull requests are a simple way of offering a patch by providing a pointer to a code branch that contains the changes.
diff --git a/contribute-documentation.zh.md b/contribute-documentation.zh.md
index 6876568..8e16944 100644
--- a/contribute-documentation.zh.md
+++ b/contribute-documentation.zh.md
@@ -39,6 +39,14 @@ cd docs
如果有任何疑问,请在开发者邮件列表随时提问。
+## 中文文档翻译
+
+Flink 社区正在同时维护英文和中文文档。所以如果你想要更新或扩展文档,英文和中文文档都需要更新。如果你不熟悉中文,请创建一个用于中文文档翻译的 JIRA 并附上 `chinese-translation` 的组件名,并与当前JIRA关联起来。如果你熟悉中文,我们鼓励在一个 pull request 中同时更新两边的文档。
+
+*注意:Flink 社区目前正在翻译中文文档,有部分文档可能还未翻译。如果你正在更新的文档还未翻译,可以简单地将英文改动复制到中文文档中。*
+
+中文文档与对应的英文文档位于相同的目录下。两种语言的文件名是一样的,只不过中文文档会以 `.zh.md` 作为后缀。你可以根据英文文档的改动来更新或扩展 `.zh.md` 文件。如果对应的 `.zh.md` 文件还未创建,你可以拷贝现有的英文文件,名称以 `.zh.md` 作为后缀。它将在 `/zh` 文件夹下生成与英文文档同名的 html 文件。
+
## 提交你的贡献
Flink 项目通过 [GitHub Mirror](https://github.com/apache/flink) 的 [Pull Request](https://help.github.com/articles/using-pull-requests) 方式接受文档的贡献。Pull request 是一种提供补丁的简单方法,它提供了一个指向包含更改的代码分支的链接。
diff --git a/reviewing-prs.md b/reviewing-prs.md
index bcb3767..a67e4f0 100644
--- a/reviewing-prs.md
+++ b/reviewing-prs.md
@@ -91,6 +91,14 @@ This is the detailed code review of the actual changes, covering:
Some code style guidelines can be found in the [Flink Code Style Page]({{ site.baseurl }}/contribute-code.html#code-style)
+----
+
+### 6. Are English and Chinese documentation updated?
+
+If the pull request introduces a new feature, the feature should be documented. The Flink community is maintaining both English and Chinese documents. So both English and Chinese documentation should be updated. If you are not familiar with Chinese language, please open a JIRA tagged with the `chinese-translation` component for Chinese documentation translation and link it with current JIRA issue. If you are familiar with Chinese language, you are encouraged to update both sides in one p [...]
+
+See more about how to [contribute documentation](https://flink.apache.org/contribute-documentation.html).
+
## Review with the @flinkbot
The Flink community is using a service called [@flinkbot](https://github.com/flinkbot) to help with the review of the pull requests.
diff --git a/reviewing-prs.zh.md b/reviewing-prs.zh.md
index 50caa90..07a412d 100644
--- a/reviewing-prs.zh.md
+++ b/reviewing-prs.zh.md
@@ -91,6 +91,14 @@ title: "如何审核 Pull Request"
可以在 [Flink代码样式页面]({{ site.baseurl }}/zh/contribute-code.html#code-style) 中找到一些代码样式指南。
+----
+
+### 6. 英文和中文文档是否都更新了?
+
+如果这个 pull request 引入了一个新功能,该功能应该被文档化。Flink 社区正在同时维护英文和中文文档。所以如果你想要更新或扩展文档,英文和中文文档都需要更新。如果你不熟悉中文,请创建一个用于中文文档翻译的 JIRA 并附上 `chinese-translation` 的组件名,并与当前 JIRA 关联起来。如果你熟悉中文,我们鼓励在一个 pull request 中同时更新两边的文档。
+
+阅读[如何贡献文档](https://flink.apache.org/zh/contribute-documentation.html)了解更多。
+
## 使用 @flinkbot 进行审核
Flink 社区正在使用名为 [@flinkbot](https://github.com/flinkbot) 的服务来帮助审核 pull request。