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:
parent
e6b1dc45e1
commit
5719912e7f
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
||||
#####################################################################################
|
||||
|
|
Loading…
Reference in a new issue