aboutsummaryrefslogtreecommitdiffstats
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
parente8b525f16906458001fb1d10ed84d787760f19f3 (diff)
downloadrails-827a0fee07eff7ca35ecdf5ca650f2094ad4825a.tar.gz
rails-827a0fee07eff7ca35ecdf5ca650f2094ad4825a.tar.bz2
rails-827a0fee07eff7ca35ecdf5ca650f2094ad4825a.zip
use sdoc to generate the API
-rw-r--r--Gemfile2
-rwxr-xr-xRakefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/Gemfile b/Gemfile
index e11514d5e6..f0880926a3 100644
--- a/Gemfile
+++ b/Gemfile
@@ -21,7 +21,7 @@ gem "mocha", ">= 0.9.8"
group :doc do
gem "rdoc", "~> 3.4"
- gem "horo", "= 1.0.3"
+ gem "sdoc", "~> 0.3"
gem "RedCloth", "~> 4.2" if RUBY_VERSION < "1.9.3"
gem "w3c_validators"
end
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