Skip to content

Commit 789a7ea

Browse files
committed
docs: things aren't always simple
1 parent b11da93 commit 789a7ea

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Taskfile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ tasks:
167167
- Push the commit/tag to the repository
168168
- Create a GitHub release
169169
170-
To use the task, simply run "task release:<version>" where "<version>" is is one of:
170+
To use the task, run "task release:<version>" where "<version>" is is one of:
171171
172172
- "major" - Bumps the major number
173173
- "minor" - Bumps the minor number

website/docs/getting_started.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ the commands.
6262

6363
## Calling a task
6464

65-
To call the task, you simply invoke `task` followed by the name of the task you
66-
want to run. In this case, the name of the task is `default`, so you should run:
65+
To call the task, invoke `task` followed by the name of the task you want to
66+
run. In this case, the name of the task is `default`, so you should run:
6767

6868
```shell
6969
task default

website/docs/usage.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -1301,8 +1301,8 @@ tasks:
13011301
```
13021302

13031303
All references use the same templating syntax as regular templates, so in
1304-
addition to simply calling `.FOO`, you can also pass subkeys (`.FOO.BAR`) or
1305-
indexes (`index .FOO 0`) and use functions (`len .FOO`) as described in the
1304+
addition to calling `.FOO`, you can also pass subkeys (`.FOO.BAR`) or indexes
1305+
(`index .FOO 0`) and use functions (`len .FOO`) as described in the
13061306
[templating-reference][templating-reference]:
13071307

13081308
```yaml
@@ -1511,9 +1511,9 @@ tasks:
15111511

15121512
### Looping over variables
15131513

1514-
To loop over the contents of a variable, you simply need to specify the variable
1515-
you want to loop over. By default, string variables will be split on any
1516-
whitespace characters.
1514+
To loop over the contents of a variable, use the `var` key followed by the name
1515+
of the variable you want to loop over. By default, string variables will be
1516+
split on any whitespace characters.
15171517

15181518
```yaml
15191519
version: '3'

0 commit comments

Comments
 (0)