aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-23 21:11:29 +0200
committerXavier Noria <fxn@hashref.com>2010-07-23 21:11:29 +0200
commitb50635a59f7d2fab2cdba348c4169536fbbb77f4 (patch)
tree9efa442c92693fb18bfae39c5758ac80275b8121 /Rakefile
parent5ebc1d88d3c80f8773d39b155a4e6f66544ec46b (diff)
downloadrails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.tar.gz
rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.tar.bz2
rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.zip
update Rakefiles for RDoc 2.5
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 3 insertions, 5 deletions
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'