diff options
-rw-r--r-- | CHANGELOG.md | 7 | ||||
-rwxr-xr-x | tasks/docs.rb | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c1ecbe594..6792d0f1c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,16 @@ <!-- usage documentation: http://expeditor-docs.es.chef.io/configuration/changelog/ --> -<!-- latest_release 16.6.18 --> -## [v16.6.18](https://github.com/chef/chef/tree/v16.6.18) (2020-10-16) +<!-- latest_release unreleased --> +## Unreleased #### Merged Pull Requests -- Avoid declaring arrays in loops [#10513](https://github.com/chef/chef/pull/10513) ([tas50](https://github.com/tas50)) +- Update docs generation task to handle Chef 16 required format [#10518](https://github.com/chef/chef/pull/10518) ([tas50](https://github.com/tas50)) <!-- latest_release --> <!-- release_rollup since=16.6.14 --> ### Changes not yet released to stable #### Merged Pull Requests +- Update docs generation task to handle Chef 16 required format [#10518](https://github.com/chef/chef/pull/10518) ([tas50](https://github.com/tas50)) <!-- 16.6.18 --> - Avoid declaring arrays in loops [#10513](https://github.com/chef/chef/pull/10513) ([tas50](https://github.com/tas50)) <!-- 16.6.18 --> - Resource documentation updates from review [#10510](https://github.com/chef/chef/pull/10510) ([tas50](https://github.com/tas50)) <!-- 16.6.17 --> - More resource documentation improvement [#10509](https://github.com/chef/chef/pull/10509) ([tas50](https://github.com/tas50)) <!-- 16.6.16 --> diff --git a/tasks/docs.rb b/tasks/docs.rb index 14b15e0d15..16f16e7cfe 100755 --- a/tasks/docs.rb +++ b/tasks/docs.rb @@ -159,7 +159,7 @@ namespace :docs_site do values = {} values["property"] = property["name"] values["ruby_type"] = friendly_types_list(property["is"]) - values["required"] = property["required"] + values["required"] = !!property["required"] # right now we just want a boolean value here since the docs doesn't know what to do with an array of actions 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(", ") unless property["equal_to"].empty? |