Skip to content

Commit 39571ff

Browse files
committed
Add linting check for RST code blocks.
1 parent f45a871 commit 39571ff

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

antsibull-nox.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ run_mypy = false
2121

2222
[sessions.docs_check]
2323
validate_collection_refs="all"
24+
codeblocks_restrict_types = [
25+
"ansible-output",
26+
"yaml",
27+
"yaml+jinja",
28+
]
29+
codeblocks_restrict_type_exact_case = true
30+
codeblocks_allow_without_type = false
31+
codeblocks_allow_literal_blocks = false
2432

2533
[sessions.license_check]
2634

0 commit comments

Comments
 (0)