Skip to content

Commit

Permalink
Fix plugin_formatter.py -l / MODULES=none make webdocs
Browse files Browse the repository at this point in the history
Fix the get_module_info check against the limit_to_modules
list so building a subset/none of the module docs works again.
  • Loading branch information
alikins authored and bcoca committed Aug 18, 2017
1 parent 5e6984a commit 2941e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/bin/plugin_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2941e86

Please sign in to comment.