From 5767d125bcafe71cbac0bfde529c7cca8db1327c Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 29 Apr 2020 13:37:42 -0700 Subject: 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 --- tasks/docs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tasks') 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 -- cgit v1.2.1