Skip to content

Commit f5121de

Browse files
committed
docs: broken links
1 parent b5d573f commit f5121de

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

website/docs/contributing.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ add a new section. If you're updating an existing feature, ensure that the
8383
documentation and any examples are up-to-date. Ensure that any examples follow
8484
the [Taskfile Styleguide](/styleguide).
8585

86-
If you added a new field, command or flag, ensure that you add it to the
87-
[API Reference](/api). New fields also need to be added to the [JSON
88-
Schema][json-schema]. The descriptions for fields in the API reference and the
89-
schema should match.
86+
If you added a new command or flag, ensure that you add it to the [CLI
87+
Reference](/reference/cli). New fields also need to be added to the [Schema
88+
Reference](/reference/schema) and [JSON Schema][json-schema]. The descriptions
89+
for fields in the docs and the schema should match.
9090

9191
### Writing tests
9292

website/docs/reference/cli.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ four groups with the following ranges:
5858
- Success (0)
5959
- General errors (1-99)
6060
- Taskfile errors (100-199)
61-
- Task errors (200-299)
61+
- Task errors (200-255)
6262

6363
A full list of the exit codes and their descriptions can be found below:
6464

website/docs/usage.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -938,8 +938,8 @@ information.
938938
You can use `--force` or `-f` if you want to force a task to run even when
939939
up-to-date.
940940

941-
Also, `task --status [tasks]...` will exit with a non-zero exit code if any of
942-
the tasks are not up-to-date.
941+
Also, `task --status [tasks]...` will exit with a non-zero [exit
942+
code](/reference/cli#exit-codes) if any of the tasks are not up-to-date.
943943

944944
`status` can be combined with the
945945
[fingerprinting](#by-fingerprinting-locally-generated-files-and-their-sources)
@@ -1759,8 +1759,8 @@ commands are executed in the reverse order if you schedule multiple of them.
17591759
:::
17601760

17611761
A special variable `.EXIT_CODE` is exposed when a command exited with a non-zero
1762-
exit code. You can check its presence to know if the task completed successfully
1763-
or not:
1762+
[exit code](/reference/cli#exit-codes). You can check its presence to know if
1763+
the task completed successfully or not:
17641764

17651765
```yaml
17661766
version: '3'
@@ -1959,8 +1959,8 @@ tasks:
19591959
```
19601960

19611961
Warning prompts are called before executing a task. If a prompt is denied Task
1962-
will exit with [exit code](/api#exit-codes) 205. If approved, Task will continue
1963-
as normal.
1962+
will exit with [exit code](/reference/cli#exit-codes) 205. If approved, Task
1963+
will continue as normal.
19641964

19651965
```shell
19661966
❯ task example

website/versioned_docs/version-latest/contributing.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ add a new section. If you're updating an existing feature, ensure that the
8383
documentation and any examples are up-to-date. Ensure that any examples follow
8484
the [Taskfile Styleguide](/styleguide).
8585

86-
If you added a new field, command or flag, ensure that you add it to the
87-
[API Reference](/api). New fields also need to be added to the [JSON
88-
Schema][json-schema]. The descriptions for fields in the API reference and the
89-
schema should match.
86+
If you added a new command or flag, ensure that you add it to the [CLI
87+
Reference](/reference/cli). New fields also need to be added to the [Schema
88+
Reference](/reference/schema) and [JSON Schema][json-schema]. The descriptions
89+
for fields in the docs and the schema should match.
9090

9191
### Writing tests
9292

website/versioned_docs/version-latest/reference/cli.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ four groups with the following ranges:
5858
- Success (0)
5959
- General errors (1-99)
6060
- Taskfile errors (100-199)
61-
- Task errors (200-299)
61+
- Task errors (200-255)
6262

6363
A full list of the exit codes and their descriptions can be found below:
6464

website/versioned_docs/version-latest/usage.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -938,8 +938,8 @@ information.
938938
You can use `--force` or `-f` if you want to force a task to run even when
939939
up-to-date.
940940

941-
Also, `task --status [tasks]...` will exit with a non-zero exit code if any of
942-
the tasks are not up-to-date.
941+
Also, `task --status [tasks]...` will exit with a non-zero [exit
942+
code](/reference/cli#exit-codes) if any of the tasks are not up-to-date.
943943

944944
`status` can be combined with the
945945
[fingerprinting](#by-fingerprinting-locally-generated-files-and-their-sources)
@@ -1759,8 +1759,8 @@ commands are executed in the reverse order if you schedule multiple of them.
17591759
:::
17601760

17611761
A special variable `.EXIT_CODE` is exposed when a command exited with a non-zero
1762-
exit code. You can check its presence to know if the task completed successfully
1763-
or not:
1762+
[exit code](/reference/cli#exit-codes). You can check its presence to know if
1763+
the task completed successfully or not:
17641764

17651765
```yaml
17661766
version: '3'
@@ -1959,8 +1959,8 @@ tasks:
19591959
```
19601960

19611961
Warning prompts are called before executing a task. If a prompt is denied Task
1962-
will exit with [exit code](/api#exit-codes) 205. If approved, Task will continue
1963-
as normal.
1962+
will exit with [exit code](/reference/cli#exit-codes) 205. If approved, Task
1963+
will continue as normal.
19641964

19651965
```shell
19661966
❯ task example

0 commit comments

Comments
 (0)