summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-05-21 15:18:30 -0700
committerTim Smith <tsmith@chef.io>2021-05-21 15:18:49 -0700
commit822536a575603200a0b2dfb05fb61b82aabf9125 (patch)
tree0ee5435352ef4d9c44f6e4077609dafee18d6b10 /tasks
parent2f6cb30a80e703628499d28a9e4115302795109e (diff)
downloadchef-822536a575603200a0b2dfb05fb61b82aabf9125.tar.gz
Update comments in the docs generator
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rwxr-xr-xtasks/docs.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index 78e9c13b2c..0094929ed4 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -97,8 +97,7 @@ namespace :docs_site do
# and removing any nil values since those are less types in properties
# and more side effects of legacy design
# @return String
- # TODO:
- # - still does not include nil (?)
+ # @todo still does not include nil (?)
def friendly_types_list(arr)
fixed_arr = Array(arr).map do |x|
case x
@@ -138,8 +137,7 @@ namespace :docs_site do
actions
end
- # TODO:
- # - what to do about "lazy default" for default?
+ # @todo what to do about "lazy default" for default?
def properties_list(properties)
properties.filter_map do |property|
next if property["name"] == "sensitive" # we don't need to document sensitive twice