Add linting check for RST code blocks. Fix code block languages.

This commit is contained in:
Felix Fontein
2025-06-18 21:49:42 +02:00
parent ae1d457b49
commit c1df4bc8da
2 changed files with 11 additions and 2 deletions
+9
View File
@@ -32,6 +32,15 @@ run_mypy = false
[sessions.docs_check]
validate_collection_refs="all"
codeblocks_restrict_types = [
"ansible-output",
"console",
"yaml",
"yaml+jinja",
]
codeblocks_restrict_type_exact_case = true
codeblocks_allow_without_type = false
codeblocks_allow_literal_blocks = false
[sessions.license_check]