mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +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