diff --git a/CONTRIBUTING-en.md b/CONTRIBUTING-en.md index d562f07edca1da28db4b581af3fd4e55ed894efa..c8136e3d2043cca5138cd65d2e094f59b18dc344 100644 --- a/CONTRIBUTING-en.md +++ b/CONTRIBUTING-en.md @@ -1,14 +1,12 @@ To be a collaborator --- -When more than one person use a language which you can code (whether there are more than one person using a language can be judged according to the assessment of the issue). +If there is no language in this repository. Please submit PR to create a new sub module like follow example. +Direct push is not allowed for creating a new module. And you should support `GitHub action workflows` as much as possible. * Each person creates a package for himself to distinguish different people(if sub module has exists). Refer to `java-leetcode`. For the first time, please submit by PR, you can obtain the permission of collaborator after this PR is merged. -* Everyone creates a new one in their own package named `packageName.md`, add the index and then link it to the current sub module README.md, refer to `java-leetcode`. - -If there is no language in this repository. Please submit PR to create a new sub module like follow example. -Direct push is not allowed for create a new module. And you should support `GitHub action workflows` as much as possible. +* Everyone creates a new one in their own package named `packageName.md` in sub module, add the index and then link it to the current sub module README.md, refer to `python-leetcode`. this is a python sub module, if you want to create a new module that the language you use is not exists you should look at this structure. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e57b3185b5ef29ef2b9df0b78c472123cf06516a..eff344b009ba23e9c8f3cd00c38765ae10831b4e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,17 +3,15 @@ [english](./CONTRIBUTING-en.md) -多人同时使用一种语言时(是否存在多人使用一种语言,可根据 issue 的 assiginess 来判断) +本库没有的语言,自己提PR新建子模块,参考`python-leetcode`新建模块,该操作不允许直接push,请尽可能的支持 `GitHub action workflows`(不会就忽略) -- 每个人为自己建一个package,用以区分不同人,参考 `java-leetcode`,第一次以PR形式提交,merge后你将获得Collaborator权限 -- 每个人在自己package中新建一个`packageName.md`,增加题目索引再链接到当前项目的README.md - -本库没有的语言,自己提PR新建子模块,参考`java-leetcode`新建模块,该操作不允许直接push,请尽可能的支持 `GitHub action workflows`(不会就忽略) +- 在子模块下每个人为自己建一个package,用以区分不同人,参考 `java-leetcode`,第一次以PR形式提交,merge后你将获得Collaborator权限 +- 在子模块下每个人在自己package中新建一个`packageName.md`,增加题目索引再链接到当前项目的README.md 如果你要创建新的语言的子模块,应该以下面的python-leetcode项目为例 ``` -python-leetcode +python-leetcode 当然,前面可能还有通用包名io.github.xxx /laozhang 每个人的包 /leetcode_12.py 每个人刷的题,这里还能创建自己的子包,区分专题 /laozhang.md 每个人的题目索引