summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-20 15:16:22 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-20 15:16:22 -0700
commit3da27e34f965784bb3cb297604fa24aacaedc6f8 (patch)
treebfd36ea38cf6c03cbf095369fec46dcf4d654956 /Rakefile
parente005d9b85d4bad73ad4a71e007fd8ece0734b9b3 (diff)
downloadchef-3da27e34f965784bb3cb297604fa24aacaedc6f8.tar.gz
Remove the yard doc generation task / group
If someone wants the yard docs locally they can just gem install yard and then run yard. This is way overthinking the problem and requires us to exclude the group all over the place. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/Rakefile b/Rakefile
index 941ee692df..293c7b4dd0 100644
--- a/Rakefile
+++ b/Rakefile
@@ -97,15 +97,3 @@ begin
rescue LoadError
puts "chefstyle/rubocop is not available. bundle install first to make sure all dependencies are installed."
end
-
-begin
- require "yard"
- DOC_FILES = [ "spec/tiny_server.rb", "lib/**/*.rb" ].freeze
-
- YARD::Rake::YardocTask.new(:docs) do |t|
- t.files = DOC_FILES
- t.options = ["--format", "html"]
- end
-rescue LoadError
- puts "yard is not available. bundle install first to make sure all dependencies are installed."
-end