diff options
author | Matt Davis <nitzmahone@users.noreply.github.com> | 2016-12-07 07:56:19 -0800 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2016-12-08 11:35:20 -0500 |
commit | cb1888125d6a9edbee278121332a9fdc4337d7af (patch) | |
tree | 4880d4817f2519f039a53686b77b908937a7c2ed /hacking | |
parent | 5628e260f23a37cf16419235819ba05d1248ed51 (diff) | |
download | ansible-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-x | hacking/module_formatter.py | 2 |
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: |