mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
5e6984a34c
commit
2941e86671
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue