diff --git a/antsibull-nox.toml b/antsibull-nox.toml index 76e8947a02..1d64a3c79a 100644 --- a/antsibull-nox.toml +++ b/antsibull-nox.toml @@ -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]