From b50635a59f7d2fab2cdba348c4169536fbbb77f4 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 23 Jul 2010 21:11:29 +0200 Subject: update Rakefiles for RDoc 2.5 --- Rakefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 835a2dec50..59f6b965f6 100644 --- a/Rakefile +++ b/Rakefile @@ -1,9 +1,8 @@ gem 'rdoc', '>= 2.5.9' require 'rdoc' -require 'horo' require 'rake' -require 'rake/rdoctask' +require 'rdoc/task' require 'rake/gempackagetask' PROJECTS = %w(activesupport activemodel actionpack actionmailer activeresource activerecord railties) @@ -63,12 +62,11 @@ task :install => :gem do end desc "Generate documentation for the Rails framework" -Rake::RDocTask.new do |rdoc| +RDoc::Task.new do |rdoc| rdoc.rdoc_dir = 'doc/rdoc' rdoc.title = "Ruby on Rails Documentation" - rdoc.options << '--line-numbers' << '--inline-source' - rdoc.options << '-A cattr_accessor=object' + rdoc.options << '-f' << 'horo' rdoc.options << '--charset' << 'utf-8' rdoc.options << '--main' << 'README.rdoc' -- cgit v1.2.3