summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
authorMatt Davis <nitzmahone@users.noreply.github.com>2016-12-07 07:56:19 -0800
committerMatt Clay <matt@mystile.com>2016-12-08 11:35:20 -0500
commitcb1888125d6a9edbee278121332a9fdc4337d7af (patch)
tree4880d4817f2519f039a53686b77b908937a7c2ed /hacking
parent5628e260f23a37cf16419235819ba05d1248ed51 (diff)
downloadansible-cb1888125d6a9edbee278121332a9fdc4337d7af.tar.gz
add metadata to doc support (#18802)
fix broken module docs change doc AST id extraction to use == instead of in
Diffstat (limited to 'hacking')
-rwxr-xr-xhacking/module_formatter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py
index fd5fe3fac1..e23994e371 100755
--- a/hacking/module_formatter.py
+++ b/hacking/module_formatter.py
@@ -251,7 +251,7 @@ def process_module(module, options, env, template, outputname, module_map, alias
print("rendering: %s" % module)
# use ansible core library to parse out doc metadata YAML and plaintext examples
- doc, examples, returndocs = module_docs.get_docstring(fname, verbose=options.verbose)
+ doc, examples, returndocs, metadata = module_docs.get_docstring(fname, verbose=options.verbose)
# crash if module is missing documentation and not explicitly hidden from docs index
if doc is None: