mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
added module returnval documentation to web docs
This commit is contained in:
parent
64b447f01b
commit
c3076b8478
2 changed files with 50 additions and 8 deletions
|
@ -289,7 +289,10 @@ def process_module(module, options, env, template, outputname, module_map, alias
|
|||
doc['now_date'] = datetime.date.today().strftime('%Y-%m-%d')
|
||||
doc['ansible_version'] = options.ansible_version
|
||||
doc['plainexamples'] = examples #plain text
|
||||
doc['returndocs'] = returndocs
|
||||
if returndocs:
|
||||
doc['returndocs'] = yaml.safe_load(returndocs)
|
||||
else:
|
||||
doc['returndocs'] = None
|
||||
|
||||
# here is where we build the table of contents...
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue