ansible-doc consistent version info ignore (#78725)

pull/78737/head
Brian Coca 2 years ago committed by GitHub
parent 8a7b89c2f4
commit eb17ab8c27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- ansible-doc will now not display version_added_collection under same conditions it does not display version_added.

@ -355,7 +355,7 @@ class DocCLI(CLI, RoleMixin):
name = 'ansible-doc'
# default ignore list for detailed views
IGNORE = ('module', 'docuri', 'version_added', 'short_description', 'now_date', 'plainexamples', 'returndocs', 'collection')
IGNORE = ('module', 'docuri', 'version_added', 'version_added_collection', 'short_description', 'now_date', 'plainexamples', 'returndocs', 'collection')
# Warning: If you add more elements here, you also need to add it to the docsite build (in the
# ansible-community/antsibull repo)

Loading…
Cancel
Save