diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-05-01 09:56:52 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-01 09:56:52 -0700 |
commit | 039df15956bdfce0785693a0537e114f28272a31 (patch) | |
tree | 937cf519b3dcff33cda802c559c92b336b24972b /tasks/docs.rb | |
parent | d91bfb959708085408240c7f4b8a06ff8380994e (diff) | |
download | chef-039df15956bdfce0785693a0537e114f28272a31.tar.gz |
Handle symbols in the equal_to values
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks/docs.rb')
-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 ea9afc051e..cfa937c58d 100755 --- a/tasks/docs.rb +++ b/tasks/docs.rb @@ -180,7 +180,7 @@ namespace :docs_site do values["required"] = property["required"] values["default_value"] = default_val unless default_val.nil? values["new_in"] = property["introduced"] unless property["introduced"].nil? - # values["allowed_values"] = property["equal_to"].join(', ') + values["allowed_values"] = property["equal_to"].join(', ') unless property["equal_to"].empty? values["description_list"] = [{ "markdown" => property["description"] }] values end |