summaryrefslogtreecommitdiff
path: root/tasks/docs.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-02-07 11:51:21 -0800
committerTim Smith <tsmith84@gmail.com>2021-02-07 11:51:21 -0800
commite9690b257075b490d0bec9139707f708c3090d90 (patch)
treec3e183b3cb864206d1594deb0345a47e1b09fc4c /tasks/docs.rb
parent1b34688d1c94e9eadc0541b9132b763c7aedd32e (diff)
downloadchef-e9690b257075b490d0bec9139707f708c3090d90.tar.gz
Fix typos
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks/docs.rb')
-rwxr-xr-xtasks/docs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index 089d4ce27d..907d3c1ba4 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -250,7 +250,7 @@ namespace :docs_site do
end
# takes the resource description text, splits out warning/note fields and then adds multipackage based notes when appropriate
- def build_reource_description(name, text)
+ def build_resource_description(name, text)
description = split_description_values(text)
# if we're on a package resource, depending on the OS we want to inject a warning / note that you can just use 'package' instead
@@ -272,7 +272,7 @@ namespace :docs_site do
r.merge!(special_properties(name))
r["resource"] = name
- r["resource_description_list"] = build_reource_description(name, data["description"])
+ r["resource_description_list"] = build_resource_description(name, data["description"])
r["resource_new_in"] = data["introduced"] unless data["introduced"].nil?
r["syntax_full_code_block"] = generate_resource_block(name, properties, data["default_action"])
r["syntax_properties_list"] = nil