From 36e9155f13308236387c535a5bbb95bb188dc8a5 Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sun, 7 Oct 2012 03:13:39 +0200 Subject: fixing rdoc task --- rake_tasks/documentation.rake | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rake_tasks/documentation.rake b/rake_tasks/documentation.rake index 0b7f810..d555022 100644 --- a/rake_tasks/documentation.rake +++ b/rake_tasks/documentation.rake @@ -14,12 +14,13 @@ Rake::RDocTask.new :doc do |rd| rd.main = 'lib/README' rd.title = 'CodeRay Documentation' - rd.options << '--line-numbers' << '--inline-source' << '--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.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' -- cgit v1.2.1