mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
added a skip for the test dir in module repos
This commit is contained in:
@@ -174,6 +174,10 @@ def list_modules(module_dir, depth=0):
|
||||
categories[category][module] = d
|
||||
categories['all'][module] = d
|
||||
|
||||
# keep module tests out of becomeing module docs
|
||||
if 'test' in categories:
|
||||
del categories['test']
|
||||
|
||||
return categories
|
||||
|
||||
#####################################################################################
|
||||
|
||||
Reference in New Issue
Block a user