diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-29 13:37:42 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-29 13:37:42 -0700 |
commit | 5767d125bcafe71cbac0bfde529c7cca8db1327c (patch) | |
tree | 9117d04839cf102bc3eaec078d811dc35ae5f815 /tasks | |
parent | 7b208669bf442e26e9ff3280aae4418253cb2cab (diff) | |
download | chef-5767d125bcafe71cbac0bfde529c7cca8db1327c.tar.gz |
Make sure our yaml blocks end with ---
The files aren't actually yaml. They're markdown with yaml blocks so we need to end them.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rwxr-xr-x | tasks/docs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb index 4ef56d56ce..67b8950aec 100755 --- a/tasks/docs.rb +++ b/tasks/docs.rb @@ -305,7 +305,7 @@ namespace :docs_site do else puts "Writing out #{resource}." FileUtils.mkdir_p "docs_site/#{resource}" - File.open("docs_site/#{resource}/_index.md", "w") { |f| f.write(resource_data.to_yaml) } + File.open("docs_site/#{resource}/_index.md", "w") { |f| f.write(resource_data.to_yaml + "---") } end end end |