CI: add checks for code block types in extra docs (#10280)

* Add checks for code block types in extra docs.

* Add 'ini' and 'text' to allowlist.
This commit is contained in:
Felix Fontein 2025-06-30 20:16:22 +02:00 committed by GitHub
commit 41855418bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,6 +16,20 @@
[sessions.docs_check]
validate_collection_refs="all"
codeblocks_restrict_types = [
"ansible-output",
"console",
"ini",
"json",
"python",
"shell",
"yaml",
"yaml+jinja",
"text",
]
codeblocks_restrict_type_exact_case = true
codeblocks_allow_without_type = false
codeblocks_allow_literal_blocks = false
[sessions.license_check]