summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-02-22 15:25:25 -0800
committerTim Smith <tsmith84@gmail.com>2021-02-22 16:37:55 -0800
commitcc59e2a20eec52d5de2e8926db5204fd289dc523 (patch)
treeb9a52c8af9d1b9179458fad624d195c7c01ac81f /tasks
parent6733a7727f3d4b53aa8d57634ce3fd2b76967729 (diff)
downloadchef-cc59e2a20eec52d5de2e8926db5204fd289dc523.tar.gz
Further improve docs generation
Fix some markdown generration in the rake task and general cleanup of content in the resources. Signed-off-by: Tim Smith <tsmith@chef.io>
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 cba58cad4a..78e9c13b2c 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -236,9 +236,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