mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 22:00:22 -07:00
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:
parent
cc2e067907
commit
41855418bb
1 changed files with 14 additions and 0 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue