This is an automated email from the ASF dual-hosted git repository.

haiboduan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 0abce7d  fix issue 458 add suggestions (#461)
0abce7d is described below

commit 0abce7dd0fe40fbbe65e031f84d511436afcbe02
Author: erdengk <[email protected]>
AuthorDate: Thu Feb 24 21:17:10 2022 +0800

    fix issue 458 add suggestions (#461)
---
 community/1-code-suggestions.md                                        | 3 +++
 .../current/1-code-suggestions.md                                      | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/community/1-code-suggestions.md b/community/1-code-suggestions.md
index 41796d0..a6b639d 100644
--- a/community/1-code-suggestions.md
+++ b/community/1-code-suggestions.md
@@ -27,6 +27,9 @@ cover: "/img/architecture/shenyu-framework.png"
 
 * All code passage of Checkstyle: 
https://github.com/apache/incubator-shenyu/blob/master/script/shenyu_checkstyle.xml
 
+* When adding a new file, you need to add the [apache 
protocol](https://github.com/apache/incubator-shenyu-website/blob/57f9a6b14c27d97137275453b207232f3df53205/LICENSE#L191-L201)
 in the header of the file.
+
+
 ## Object
 
 * Use Optional transform Null.
diff --git 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/1-code-suggestions.md
 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/1-code-suggestions.md
index cae3538..b76acfb 100644
--- 
a/i18n/zh/docusaurus-plugin-content-docs-community/current/1-code-suggestions.md
+++ 
b/i18n/zh/docusaurus-plugin-content-docs-community/current/1-code-suggestions.md
@@ -27,6 +27,8 @@ cover: "/img/architecture/shenyu-framework.png"
 
 * 所有的代码 必须通过 checkStyle的检查: 
https://github.com/apache/incubator-shenyu/blob/master/script/shenyu_checkstyle.xml
 
+* 添加新文件时,需要在文件头添加 
[apache协议](https://github.com/apache/incubator-shenyu-website/blob/57f9a6b14c27d97137275453b207232f3df53205/LICENSE#L191-L201)
+
 ## Object
 
 * 使用`Optional` 来转换 `Null` 对象。

Reply via email to