mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix plugin_formatter.py -l / MODULES=none make webdocs
Fix the get_module_info check against the limit_to_modules list so building a subset/none of the module docs works again.
This commit is contained in:
committed by
Brian Coca
parent
5e6984a34c
commit
2941e86671
@@ -179,7 +179,7 @@ def get_module_info(module_dir, limit_to_modules=None, verbose=False):
|
||||
|
||||
# If requested, limit module documentation building only to passed-in
|
||||
# modules.
|
||||
if limit_to_modules is not None and module.lower() in limit_to_modules:
|
||||
if limit_to_modules is not None and module.lower() not in limit_to_modules:
|
||||
continue
|
||||
|
||||
deprecated = False
|
||||
|
||||
Reference in New Issue
Block a user