Skip to content

Commit

Permalink
Remove leftover Sphinx command directives
Browse files Browse the repository at this point in the history
  • Loading branch information
cavcrosby committed Jul 5, 2024
1 parent b7f69e3 commit 818bff5
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,12 @@ create a new rule by following the steps below:
- If the rule is task specific, it may be best to include a test to verify its
use inside blocks as well.
- Optionally run only the rule specific tests with a command like:
{command}`tox -e py -- -k NewRule`
- Run {command}`tox` in order to run all ansible-lint tests. Adding a new rule
can break some other tests. Update them if needed.
- Run {command}`ansible-lint -L` and check that the rule description renders
correctly.
- Build the docs using {command}`tox -e docs` and check that the new rule is
displayed correctly in them.
`tox -e py -- -k NewRule`
- Run `tox` in order to run all ansible-lint tests. Adding a new rule can break
some other tests. Update them if needed.
- Run `ansible-lint -L` and check that the rule description renders correctly.
- Build the docs using `tox -e docs` and check that the new rule is displayed
correctly in them.

[metatagvalidrule]:
https://github.com/ansible/ansible-lint/blob/main/src/ansiblelint/rules/meta_no_tags.py
Expand Down

0 comments on commit 818bff5

Please sign in to comment.