diff --git a/docs/bin/plugin_formatter.py b/docs/bin/plugin_formatter.py index 58092bd49e..b620fa9206 100755 --- a/docs/bin/plugin_formatter.py +++ b/docs/bin/plugin_formatter.py @@ -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