Skip to content

Commit

Permalink
Avoid myst-parser bug on directives (#2150)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed May 17, 2022
1 parent a196e2e commit 0b4f56e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ rules associated with each tag:
```{command-output} ansible-lint -T
:cwd: ..
:returncode: 0
:nostderr:
:nostderr: true
```

To run just the _idempotency_ rules, for example, run the following:
Expand Down
8 changes: 4 additions & 4 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ arguments. The following command lints `examples/playbooks/play.yml` and
```{command-output} ansible-lint -p examples/playbooks/play.yml examples/roles/bobbins
:cwd: ..
:returncode: 2
:nostderr:
:nostderr: true
```

## Examples
Expand All @@ -85,7 +85,7 @@ the following:
```{command-output} ansible-lint -p examples/playbooks/example.yml
:cwd: ..
:returncode: 2
:nostderr:
:nostderr: true
```

If playbooks include other playbooks, or tasks, or handlers or roles, these
Expand All @@ -94,7 +94,7 @@ are also handled:
```{command-output} ansible-lint --force-color --offline -p examples/playbooks/include.yml
:cwd: ..
:returncode: 2
:nostderr:
:nostderr: true
```

A `JSON` report, based on codeclimate specification, can be generated with
Expand All @@ -103,7 +103,7 @@ ansible-lint.
```{command-output} ansible-lint -f json examples/playbooks/norole.yml
:cwd: ..
:returncode: 2
:nostderr:
:nostderr: true
```

[annotation]: https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message
Expand Down

0 comments on commit 0b4f56e

Please sign in to comment.