1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

added a skip for the test dir in module repos

This commit is contained in:
Brian Coca 2015-10-27 19:59:12 -04:00
parent e6b1dc45e1
commit 5719912e7f

View file

@ -174,6 +174,10 @@ def list_modules(module_dir, depth=0):
categories[category][module] = d categories[category][module] = d
categories['all'][module] = d categories['all'][module] = d
# keep module tests out of becomeing module docs
if 'test' in categories:
del categories['test']
return categories return categories
##################################################################################### #####################################################################################