summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-05-21 15:47:15 -0700
committerGitHub <noreply@github.com>2021-05-21 15:47:15 -0700
commit9fb7ca669eb14a7f4e049c4697c94d7e90a34bcb (patch)
tree4750c681c5d5343bc86c6874d22b18f512f2e33f /tasks
parent822536a575603200a0b2dfb05fb61b82aabf9125 (diff)
parentc150240fa13c03a095db61e58bede5ff6f761fc3 (diff)
downloadchef-9fb7ca669eb14a7f4e049c4697c94d7e90a34bcb.tar.gz
Merge pull request #11601 from chef/notes_generation
Properly generate the docs markdown notes sections
Diffstat (limited to 'tasks')
-rwxr-xr-xtasks/docs.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index 0094929ed4..ce3af47c62 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -234,9 +234,9 @@ namespace :docs_site do
case preface
when "Note:"
- description << { "note" => [element] }
+ description << { "note" => element }
when "Warning:"
- description << { "warning" => [element] }
+ description << { "warning" => element }
when nil
description << element
else