From 3da27e34f965784bb3cb297604fa24aacaedc6f8 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 20 Oct 2020 15:16:22 -0700 Subject: 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 --- Rakefile | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'Rakefile') 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 -- cgit v1.2.1