Commit 2f76bc9e by Jan-Piet Mens

ansible-doc: skip directories (new library/ format)

parent 3789ac37
......@@ -155,6 +155,8 @@ def main():
continue
filename = utils.plugins.module_finder.find_plugin(module)
if os.path.isdir(filename):
continue
try:
doc, plainexamples = module_docs.get_docstring(filename)
desc = tty_ify(doc.get('short_description', '?'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment