aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-08-27 03:55:01 -0700
committerXavier Noria <fxn@hashref.com>2011-08-27 03:55:01 -0700
commit827a0fee07eff7ca35ecdf5ca650f2094ad4825a (patch)
treebd0699ade202642cf244c496a78bce4b8d3b45b6 /Rakefile
parente8b525f16906458001fb1d10ed84d787760f19f3 (diff)
downloadrails-827a0fee07eff7ca35ecdf5ca650f2094ad4825a.tar.gz
rails-827a0fee07eff7ca35ecdf5ca650f2094ad4825a.tar.bz2
rails-827a0fee07eff7ca35ecdf5ca650f2094ad4825a.zip
use sdoc to generate the API
Diffstat (limited to 'Rakefile')
-rwxr-xr-xRakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 4cf01cf063..ae857036c5 100755
--- a/Rakefile
+++ b/Rakefile
@@ -1,6 +1,7 @@
#!/usr/bin/env rake
require 'rdoc/task'
+require 'sdoc'
require 'net/http'
$:.unshift File.expand_path('..', __FILE__)
@@ -89,7 +90,8 @@ RDoc::Task.new do |rdoc|
rdoc.rdoc_dir = 'doc/rdoc'
rdoc.title = "Ruby on Rails Documentation"
- rdoc.options << '-f' << 'horo'
+ rdoc.options << '-f' << 'sdoc'
+ rdoc.options << '-T' << 'rails'
rdoc.options << '-c' << 'utf-8'
rdoc.options << '-m' << RDOC_MAIN