Commit ae6d9ebf by Brian Coca

added maintainers (from author field) to ansible-doc

parent fbec8bfb
......@@ -285,4 +285,12 @@ class DocCLI(CLI):
text.append(doc['returndocs'])
text.append('')
if isinstance(doc['author'], basestring):
maintainers = [doc['author']]
else:
maintainers = doc['author']
text.append('MAINTAINERS: ' + ', '.join(maintainers))
text.append('')
return "\n".join(text)
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