You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config/configuration_file.md
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,7 @@ Commitizen uses configuration files to customize its behavior for your project.
4
4
5
5
## Creating a Configuration File
6
6
7
-
You can create a configuration file manually, or use Commitizen's interactive init command:
8
-
9
-
```bash
10
-
cz init
11
-
```
12
-
13
-
This command will guide you through setting up your configuration file with the appropriate settings for your project.
7
+
It is recommended to create a configuration file via our [`cz init`](../commands/init.md) command. This command will guide you through setting up your configuration file with the appropriate settings for your project.
14
8
15
9
## File Location and Search Order
16
10
@@ -34,8 +28,8 @@ The first valid configuration file found will be used. If no configuration file
34
28
Commitizen supports three configuration file formats:
35
29
36
30
-**TOML** (`.toml`) - Recommended for Python projects
37
-
-**JSON** (`.json`) - Recommended for Node.js projects
38
-
-**YAML** (`.yaml`) - Recommended for Go, Ansible, or Helm chart projects
31
+
-**JSON** (`.json`)
32
+
-**YAML** (`.yaml`)
39
33
40
34
All formats support the same configuration options. Choose the format that best fits your project's ecosystem.
41
35
@@ -220,7 +214,7 @@ commitizen:
220
214
221
215
## Configuration Options
222
216
223
-
For a complete list of all available configuration options and their descriptions, see the [Configuration Settings](../config/settings.md) documentation.
217
+
For a complete list of all available configuration options and their descriptions, see the [Configuration Settings](../config/option.md) documentation.
Copy file name to clipboardExpand all lines: docs/customization.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ commitizen:
184
184
185
185
#### Shortcut keys
186
186
187
-
When the [`use_shortcuts`](./config/settings.md#use_shortcuts) config option is enabled, Commitizen can show and use keyboard shortcuts to select items from lists directly.
187
+
When the [`use_shortcuts`](./config/option.md#use_shortcuts) config option is enabled, Commitizen can show and use keyboard shortcuts to select items from lists directly.
188
188
For example, when using the `cz_conventional_commits` Commitizen template, shortcut keys are shown when selecting the commit type. Unless otherwise defined, keyboard shortcuts will be numbered automatically.
189
189
To specify keyboard shortcuts for your custom choices, provide the shortcut using the `key` parameter in dictionary form for each choice you would like to customize.
190
190
@@ -524,6 +524,6 @@ by:
524
524
- defining them in your configuration with the [`extras` settings][extras-config]
525
525
- providing them on the command line with the `--extra/-e` parameter to `bump` and `changelog` commands
Copy file name to clipboardExpand all lines: docs/tutorials/tag_format.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ As a result, the tag generated on bump will have this format: `v1.0.0` and the v
43
43
Both `$version` and `${version}` syntaxes are strictly equivalent. You can use the one you prefer.
44
44
45
45
See [the `version_scheme` section in `bump` command documentation](../commands/bump.md#version_scheme) for more details on version schemes and how to define your own.
46
-
See [`tag_format`](../config/settings.md#tag_format) and [`version_scheme`](../config/settings.md#version_scheme) settings in [Configuration reference](../config/settings.md) for more details on these settings.
46
+
See [`tag_format`](../config/option.md#tag_format) and [`version_scheme`](../config/option.md#version_scheme) settings in [Configuration reference](../config/option.md) for more details on these settings.
47
47
48
48
## Changing convention
49
49
@@ -71,7 +71,7 @@ Your new tag will be in the form `component-${version}`.
71
71
Now let's say you have some known tags you want to ignore, either because they are not versions, or because they are not versions of the component you are dealing with.
72
72
As a consequence, you don't want them to trigger a warning because Commitizen detected an unknown tag format.
73
73
74
-
Then you can tell Commitizen about it using the [`ignored_tag_formats`](../config/settings.md#ignored_tag_formats) setting:
74
+
Then you can tell Commitizen about it using the [`ignored_tag_formats`](../config/option.md#ignored_tag_formats) setting:
0 commit comments