summaryrefslogtreecommitdiff
path: root/tasks/docs.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2019-07-08 11:23:35 -0700
committerTim Smith <tsmith84@gmail.com>2019-07-08 23:00:20 -0700
commit5540e10c7becc8d1cc7779a3fe88542d225bae0a (patch)
treebb065ce8131b9bc6c6ca7aecc2045b7057f6575d /tasks/docs.rb
parent7558c414030d082194d0d2b5f74279ce151517e9 (diff)
downloadchef-5540e10c7becc8d1cc7779a3fe88542d225bae0a.tar.gz
Add examples to the resources
Add examples in markdown to the resources. We'll be using this on the docs site in the future and if we need to display it we can use tty-markdown which does a really nice job of displaying markdown in the terminal Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks/docs.rb')
-rwxr-xr-xtasks/docs.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/docs.rb b/tasks/docs.rb
index 619d1a2218..af35e77701 100755
--- a/tasks/docs.rb
+++ b/tasks/docs.rb
@@ -15,6 +15,7 @@ namespace :docs_site do
# @return String Chef Infra Client or Chef Client depending on version
def branded_chef_client_name(version)
return "Chef Infra Client" if Gem::Version.new(version) >= Gem::Version.new("15")
+
"Chef Client"
end