diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-23 23:36:31 -0700 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-04-27 11:42:16 -0700 |
commit | 961dde73960d97c60b1720cb88c8ecf759ff443d (patch) | |
tree | 32e1fe2f2e982203e8d1ae1ad59c21c16f999db3 /tasks | |
parent | 383ce008b886df30366434173599c50038eca44a (diff) | |
download | chef-961dde73960d97c60b1720cb88c8ecf759ff443d.tar.gz |
Make sure the description list is an array
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rwxr-xr-x | tasks/docs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb index 7d62e5ec55..dc5c747857 100755 --- a/tasks/docs.rb +++ b/tasks/docs.rb @@ -266,7 +266,7 @@ namespace :docs_site do r['aliases'] = ["/resource_#{name}.html"] r['menu'] = build_menu_item(name) r['resource_description_list'] = {} - r['resource_description_list']['markdown'] = data['description'] + r['resource_description_list'] = [{ "markdown" => data['description'] }] r['resource_new_in'] = data["introduced"] r['syntax_full_code_block'] = generate_resource_block(name, properties, data["default_action"]) r['syntax_properties_list'] = nil |