From 8e67efef5b412b16d755fb47538e24a2b6bafce0 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Thu, 13 Jun 2013 05:31:14 +0200 Subject: cleanup rake tasks --- rake_tasks/documentation.rake | 9 --------- 1 file changed, 9 deletions(-) (limited to 'rake_tasks/documentation.rake') diff --git a/rake_tasks/documentation.rake b/rake_tasks/documentation.rake index d555022..4f7cef7 100644 --- a/rake_tasks/documentation.rake +++ b/rake_tasks/documentation.rake @@ -15,18 +15,9 @@ Rake::RDocTask.new :doc do |rd| rd.title = 'CodeRay Documentation' rd.options << '--line-numbers' << '--tab-width' << '2' - # rd.options << '--fmt' << ENV.fetch('format', 'html_coderay') - # require 'pathname' - # template = File.join ROOT, 'rake_helpers', 'coderay_rdoc_template.rb' - # rd.template = Pathname.new(template).expand_path.to_s rd.main = 'README_INDEX.rdoc' rd.rdoc_files.add 'README_INDEX.rdoc' rd.rdoc_files.add Dir['lib'] rd.rdoc_dir = 'doc' end if defined? Rake::RDocTask - -desc 'Copy the documentation over to the CodeRay website' -task :copy_doc do - cp_r 'doc/.', '../../rails/coderay/public/doc' -end -- cgit v1.2.1