Skip to content

Commit dbafb75

Browse files
authored
Merge pull request #152 from commitizen-tools/fix-typo-and-wording
docs: fix typo and wording
2 parents 4f5a8b8 + 227c051 commit dbafb75

File tree

8 files changed

+14
-15
lines changed

8 files changed

+14
-15
lines changed

docs/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ the version or a changelog.
2727

2828
- Command-line utility to create commits with your rules. Defaults: [Conventional commits][conventional_commits]
2929
- Display information about your commit rules (commands: schema, example, info)
30-
- Bump version automatically using [semantic verisoning][semver] based on the commits. [Read More](./bump.md)
30+
- Bump version automatically using [semantic versioning][semver] based on the commits. [Read More](./bump.md)
3131
- Generate a changelog using [Keep a changelog][keepchangelog] (Planned feature)
3232

3333
## Requirements
@@ -58,7 +58,7 @@ poetry add commitizen --dev
5858

5959
## Usage
6060

61-
### Commiting
61+
### Committing
6262

6363
Run in your terminal
6464

@@ -106,9 +106,8 @@ commands:
106106

107107
### Why are `revert` and `chore` valid types in the check pattern of cz conventional_commits but not types we can select?
108108

109-
`revert` and `chore` are added to the "pattern" in `cz check` in order to prevent backward errors, but officially they are not part of conventional commits, we are using the latest [types from Angular](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#type) (they used to but were removed). Using `chore` or `revert` would be part of a different custom rule.
110-
111-
However, you can always create a customized `cz` with those extra types (See [Customization](https://commitizen-tools.github.io/commitizen/customization/).
109+
`revert` and `chore` are added to the "pattern" in `cz check` in order to prevent backward errors, but officially they are not part of conventional commits, we are using the latest [types from Angular](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#type) (they used to but were removed).
110+
However, you can create a customized `cz` with those extra types. (See [Customization](https://commitizen-tools.github.io/commitizen/customization/)
112111

113112
See more discussion in issue [#142](https://github.com/commitizen-tools/commitizen/issues/142) and [#36](https://github.com/commitizen-tools/commitizen/issues/36)
114113

docs/bump.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ tag_format = v$minor.$major.$patch$prerelease
108108

109109
The variables must be preceded by a `$` sign.
110110

111-
Suppported variables:
111+
Supported variables:
112112

113113
| Variable | Description |
114114
| ------------- | ------------------------------------------ |

docs/check.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ The `--commit-msg-file` flag is required, not optional.
5959
Each time you create a commit, automatically, this hook will analyze it.
6060
If the commit message is invalid, it'll be rejected.
6161

62-
The commit should follow the given commiting rules; otherwise, it won't be accepted.
62+
The commit should follow the given committing rules; otherwise, it won't be accepted.

docs/config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The extra tab before the square brackets (`]`) at the end is required.
6565

6666
| Variable | Type | Default | Description |
6767
| -------- | ---- | ------- | ----------- |
68-
| `name` | `str` | `"cz_conventional_commits"` | Name of the commiting rules to use |
68+
| `name` | `str` | `"cz_conventional_commits"` | Name of the committing rules to use |
6969
| `version` | `str` | `None` | Current version. Example: "0.1.2" |
7070
| `version_files` | `list` | `[ ]` | Files were the version will be updated. A pattern to match a line, can also be specified, separated by `:` [See more](https://commitizen-tools.github.io/commitizen/bump#files) |
7171
| `tag_format` | `str` | `None` | Format for the git tag, useful for old projects, that use a convention like `"v1.2.1"`. [See more](https://commitizen-tools.github.io/commitizen/bump#tag_format) |

docs/customization.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The basic steps are:
66

77
1. Inheriting from `BaseCommitizen`
88
2. Give a name to your rules.
9-
3. expose the class at the end of your file assigning it to `discover_this`
9+
3. Expose the class at the end of your file assigning it to `discover_this`
1010
4. Create a python package starting with `cz_` using `setup.py`, `poetry`, etc
1111

1212
Check an [example](convcomms) on how to configure `BaseCommitizen`.
@@ -21,7 +21,7 @@ See [commitizen_cz_template](https://github.com/commitizen-tools/commitizen_cz_t
2121

2222
### Custom commit rules
2323

24-
Create a file starting with `cz_`, for example `cz_jira.py`. This prefix is used to detect the plugin. Same method [flask uses]
24+
Create a file starting with `cz_`, for example `cz_jira.py`. This prefix is used to detect the plug-in. Same method [flask uses]
2525

2626
Inherit from `BaseCommitizen`, and you must define `questions` and
2727
`message`. The others are optional.
@@ -73,7 +73,7 @@ class JiraCz(BaseCommitizen):
7373
return 'We use this because is useful'
7474

7575

76-
discover_this = JiraCz # used by the plugin system
76+
discover_this = JiraCz # used by the plug-in system
7777
```
7878

7979
The next file required is `setup.py` modified from flask version.
@@ -189,7 +189,7 @@ message = "Do you want to add body message in commit?"
189189

190190
| Parameter | Type | Default | Description |
191191
| --------- | ---- | ------- | ----------- |
192-
| `question` | `dict` | `None` | Questions regarding the commit message. Detatiled below. |
192+
| `question` | `dict` | `None` | Questions regarding the commit message. Detailed below. |
193193
| `message_template` | `str` | `None` | The template for generating message from the given answers. `message_template` should either follow the [string.Template](https://docs.python.org/3/library/string.html#template-strings) or [Jinja2](https://jinja.palletsprojects.com/en/2.10.x/) formatting specification, and all the variables in this template should be defined in `name` in `questions`. Note that `Jinja2` is not installed by default. If not installed, commitizen will use `string.Template` formatting. |
194194
| `example` | `str` | `None` | (OPTIONAL) Provide an example to help understand the style. Used by `cz example`. |
195195
| `schema` | `str` | `None` | (OPTIONAL) Show the schema used. Used by `cz schema`. |

docs/init.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
For new projects, it is possible to run `cz init`.
22

33
This command will prompt the user for information about the project and will
4-
configure the selected file type (`pyproject.toml`, `.cz.toml`, etc).
4+
configure the selected file type (`pyproject.toml`, `.cz.toml`, etc.).
55

66
This will help you quickly set up your project with `commitizen`.
77

docs/tutorials/gitlab_ci.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The latest step is to create a `deploy key.` To do this, we should create it und
3838

3939
If you have more projects under the same organization, you can reuse the deploy key created before, but you will have to repeat the step where we have created the environment variables (ssh key, email, and username).
4040

41-
tip: If the CI raise some errors, try to unprotect the private key.
41+
tip: If the CI raise some errors, try to unprotected the private key.
4242

4343
#### Defining GitLab CI Pipeline
4444

docs/tutorials/writing_commits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Not to the important part, when writing commits, it's important to think about:
2222
You may think this is trivial, but it's not. It's important for the reader to
2323
understand what happened.
2424

25-
### Recomendations
25+
### Recommendations
2626

2727
- **Keep the message short**: Makes the list of commits more readable (~50 chars).
2828
- **Talk imperative**: Follow this rule: `If applied, this commit will <commit message>`

0 commit comments

Comments
 (0)