mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 23:21:22 -07:00
[PR #10280/41855418 backport][stable-11] CI: add checks for code block types in extra docs (#10314)
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.
(cherry picked from commit 41855418bb
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
ee601d3036
commit
a4a1f1240e
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