Skip to content

Commit f6ab2c6

Browse files
committed
update
1 parent e30ec57 commit f6ab2c6

File tree

9 files changed

+534
-2
lines changed

9 files changed

+534
-2
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<!-- Thanks for contributing to rust-learning 😊 -->
2+
3+
<!-- Describe shortly why it should be added to `rust-learning` -->
4+
<!-- Mention if you are the resource(s) author -->

.github/workflows/main.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
on: [push]
2+
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: DavidAnson/markdownlint-cli2-action@v4
9+
with:
10+
globs: |
11+
*.md
12+
#MAINTAINERS.md
13+
14+
check_links:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 16
21+
22+
- name: Check links
23+
run: npx markdown-link-check -c .markdown-link-check-config.json README.md
24+
25+
- name: Check links da_DK
26+
run: npx markdown-link-check da_DK.md
27+
28+
- name: Check links de_DE
29+
run: npx markdown-link-check de_DE.md
30+
31+
- name: Check links es_ES
32+
run: npx markdown-link-check es_ES.md
33+
34+
- name: Check links fr_FR
35+
run: npx markdown-link-check fr_FR.md
36+
37+
- name: Check links it_IT
38+
run: npx markdown-link-check it_IT.md
39+
40+
- name: Check links ja_JP
41+
run: npx markdown-link-check ja_JP.md
42+
43+
- name: Check links ko_KR
44+
run: npx markdown-link-check ko_KR.md
45+
46+
- name: Check links pt_BR
47+
run: npx markdown-link-check pt_BR.md
48+
49+
- name: Check links ru_RU
50+
run: npx markdown-link-check ru_RU.md
51+
52+
- name: Check links tr_TR
53+
run: npx markdown-link-check tr_TR.md
54+
55+
- name: Check links zh_CN
56+
run: npx markdown-link-check zh_CN.md

.github/workflows/pr.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
on: [pull_request]
2+
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-node@v3
9+
with:
10+
node-version: 16
11+
12+
- name: Lint markdown
13+
run: npx markdownlint-cli2 "*.md" "#MAINTAINERS.md"

.markdown-link-check-config.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": "^https://github.com"
5+
},
6+
{
7+
"pattern": "^https://www.google.com"
8+
},
9+
{
10+
"pattern": "^https://www.amazon.com"
11+
},
12+
{
13+
"pattern": "^https://www.manning.com"
14+
},
15+
{
16+
"pattern": "^https://web.archive.org"
17+
}
18+
]
19+
}

.markdownlint.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"default": true,
3+
"line-length": false,
4+
"no-space-in-links": false,
5+
"no-inline-html": false
6+
}

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at PR. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

CONTRIBUTING.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Contribution Guidelines
2+
3+
In order to contribute to this repository you need to **fork** it, then you can create a pull request.
4+
5+
## Pull requests
6+
7+
- **To add, remove, or change things on the list:** Submit a pull request
8+
9+
- List items should be sorted *alphabetically*.
10+
- Each item should be limited to one link.
11+
- The link should have an author if known
12+
- At least 3 items are needed to create a new category.
13+
- Linters checks should be successful
14+
15+
Please contribute links to resources you have used or are familiar with. This will help ensure high-quality entries.
16+
17+
If you removed our PR template you can find it [here](https://github.com/zouyee/zig-learning/blob/master/.github/PULL_REQUEST_TEMPLATE.md).
18+
19+
## Maintainers
20+
21+
To make sure every PR is checked, we have [team maintainers](MAINTAINERS). Every PR should be reviewed by at least two maintainers before it can get merged if the team is not outnumbered.
22+
23+
The maintainers will review your PR and notify you and tag it in case any information is still missing.
24+
You can also apply to become a maintainer by submitting a PR.
25+
26+
## Reporting issues
27+
28+
Please open an issue if you would like to discuss anything that could be improved or have suggestions for making the list a more valuable resource.
29+
30+
Thank you for your suggestions!

MAINTAINERS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Camille Tjhoa <camille.tjhoa[at]outlook.com> (@ctjhoa)

0 commit comments

Comments
 (0)