Skip to content

Commit 7c00d05

Browse files
updates README (Kong#299)
Co-authored-by: Filipe Freire <[email protected]>
1 parent bf019b3 commit 7c00d05

6 files changed

Lines changed: 602 additions & 114 deletions

File tree

.markdownlint.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# see https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md for docs
2+
3+
# Default state for all rules
4+
default: true
5+
6+
# Path to configuration file to extend
7+
extends: null
8+
9+
# MD004 - Unordered list style
10+
# We want to use dashes consistently everywhere
11+
MD004:
12+
style: dash
13+
14+
# MD013 - Line length
15+
# We do not want to artificially limit line lengh in a language like markdown because of the nature of the language's handling of whitespace. Line wrapping is just a fact of life in markdown and trying to impose the conventions of other languages on markdown is an impedance mismatch that leads to people thinking that whitespace in markdown is more representative of the rendered HTML than it really is.
16+
MD013: false
17+
18+
# MD033 - Inline HTML
19+
MD033:
20+
allowed_elements:
21+
- details # there is no markdown equivalent for accordions
22+
- summary # there is no markdown equivalent for accordions
23+
- pre # necessary for code fences in markdown tables
24+
25+
# MD029 - Ordered list item prefix
26+
# Plain and simple, markdown parsers do not respect the numbering you use for ordered lists. It only leads to confusion and misconception to allow otherwise.
27+
MD029:
28+
style: one

CONTRIBUTING.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Guidelines for bug reports:
2020

2121
1. **Use the GitHub issue search** &mdash; check if the issue has already been reported.
2222

23-
2. **Check if the issue has been fixed** &mdash; try to reproduce it using the latest `master` or development branch in the repository.
23+
1. **Check if the issue has been fixed** &mdash; try to reproduce it using the latest `master` or development branch in the repository.
2424

25-
3. **Isolate the problem** &mdash; create a [reduced test case](http://css-tricks.com/6263-reduced-test-cases/) and a live example.
25+
1. **Isolate the problem** &mdash; create a [reduced test case](http://css-tricks.com/6263-reduced-test-cases/) and a live example.
2626

2727
A good bug report shouldn't leave others needing to chase you up for more information. Please try to be as detailed as possible in your report. What is your environment? What steps will reproduce the issue? What browser(s) and OS experience the problem? What would you expect to be the outcome? All these details will help people to fix any potential bugs.
2828

@@ -33,8 +33,8 @@ Example:
3333
> A summary of the issue and the browser/OS environment in which it occurs. If suitable, include the steps required to reproduce the bug.
3434
>
3535
> 1. This is the first step
36-
> 2. This is the second step
37-
> 3. Further steps, etc.
36+
> 1. This is the second step
37+
> 1. Further steps, etc.
3838
>
3939
> `<url>` - a link to the reduced test case
4040
>
@@ -65,34 +65,34 @@ Follow this process if you'd like your work considered for inclusion in the proj
6565
git remote add upstream https://github.com/Kong/httpsnippet.git
6666
```
6767

68-
2. If you cloned a while ago, get the latest changes from upstream:
68+
1. If you cloned a while ago, get the latest changes from upstream:
6969

7070
```bash
7171
git checkout <dev-branch>
7272
git pull upstream <dev-branch>
7373
```
7474

75-
3. Create a new topic branch (off the main project development branch) to contain your feature, change, or fix:
75+
1. Create a new topic branch (off the main project development branch) to contain your feature, change, or fix:
7676

7777
```bash
7878
git checkout -b <topic-branch-name>
7979
```
8080

81-
4. Commit your changes in logical chunks. Please adhere to these [git commit message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) or your code is unlikely be merged into the main project. Use Git's [interactive rebase](https://help.github.com/articles/interactive-rebase) feature to tidy up your commits before making them public.
81+
1. Commit your changes in logical chunks. Please adhere to these [git commit message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) or your code is unlikely be merged into the main project. Use Git's [interactive rebase](https://help.github.com/articles/interactive-rebase) feature to tidy up your commits before making them public.
8282

83-
5. Locally merge (or rebase) the upstream development branch into your topic branch:
83+
1. Locally merge (or rebase) the upstream development branch into your topic branch:
8484

8585
```bash
8686
git pull [--rebase] upstream <dev-branch>
8787
```
8888

89-
6. Push your topic branch up to your fork:
89+
1. Push your topic branch up to your fork:
9090

9191
```bash
9292
git push origin <topic-branch-name>
9393
```
9494

95-
7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description.
95+
1. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/) with a clear title and description.
9696

9797
**IMPORTANT**: By submitting a patch, you agree to allow the project owner to license your work under the same license as that used by the project.
9898

0 commit comments

Comments
 (0)