Skip to content

Commit

Permalink
docs: broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
pd93 committed Jan 26, 2025
1 parent b5d573f commit f5121de
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions website/docs/contributing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ add a new section. If you're updating an existing feature, ensure that the
documentation and any examples are up-to-date. Ensure that any examples follow
the [Taskfile Styleguide](/styleguide).

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

### Writing tests

Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ four groups with the following ranges:
- Success (0)
- General errors (1-99)
- Taskfile errors (100-199)
- Task errors (200-299)
- Task errors (200-255)

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

Expand Down
12 changes: 6 additions & 6 deletions website/docs/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -938,8 +938,8 @@ information.
You can use `--force` or `-f` if you want to force a task to run even when
up-to-date.

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

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

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

```yaml
version: '3'
Expand Down Expand Up @@ -1959,8 +1959,8 @@ tasks:
```

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

```shell
❯ task example
Expand Down
8 changes: 4 additions & 4 deletions website/versioned_docs/version-latest/contributing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ add a new section. If you're updating an existing feature, ensure that the
documentation and any examples are up-to-date. Ensure that any examples follow
the [Taskfile Styleguide](/styleguide).

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

### Writing tests

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-latest/reference/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ four groups with the following ranges:
- Success (0)
- General errors (1-99)
- Taskfile errors (100-199)
- Task errors (200-299)
- Task errors (200-255)

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

Expand Down
12 changes: 6 additions & 6 deletions website/versioned_docs/version-latest/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -938,8 +938,8 @@ information.
You can use `--force` or `-f` if you want to force a task to run even when
up-to-date.

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

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

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

```yaml
version: '3'
Expand Down Expand Up @@ -1959,8 +1959,8 @@ tasks:
```

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

```shell
❯ task example
Expand Down

0 comments on commit f5121de

Please sign in to comment.