diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-23 23:35:45 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-23 23:35:45 -0700 |
commit | 7be513777bcd8efbbb1bceb47e5d80377919312b (patch) | |
tree | cec39683ce0b52db9c336dba7102e955cc0de23c | |
parent | 214f728fdac270b1af53d05b499bb2dca1b1e2aa (diff) | |
download | chef-7be513777bcd8efbbb1bceb47e5d80377919312b.tar.gz |
Produce proper markdown in the example block
The hugo code wraps this automatically
Signed-off-by: Tim Smith <tsmith@chef.io>
-rwxr-xr-x | tasks/docs.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb index 4360dd0b9f..be43d5500e 100755 --- a/tasks/docs.rb +++ b/tasks/docs.rb @@ -31,7 +31,6 @@ namespace :docs_site do # build the resource string with property spacing between property names and comments text = "" - text << "```ruby\n" text << "#{resource_name} 'name' do\n" properties.each do |p| text << " #{p["name"].ljust(padding_size)}" |