diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-23 21:11:29 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-07-23 21:11:29 +0200 |
commit | b50635a59f7d2fab2cdba348c4169536fbbb77f4 (patch) | |
tree | 9efa442c92693fb18bfae39c5758ac80275b8121 /Rakefile | |
parent | 5ebc1d88d3c80f8773d39b155a4e6f66544ec46b (diff) | |
download | rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.tar.gz rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.tar.bz2 rails-b50635a59f7d2fab2cdba348c4169536fbbb77f4.zip |
update Rakefiles for RDoc 2.5
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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' |