Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use sdoc to generate the API

  • Loading branch information...
commit 827a0fee07eff7ca35ecdf5ca650f2094ad4825a 1 parent e8b525f
Xavier Noria fxn authored
Showing with 4 additions and 2 deletions.
  1. +1 −1  Gemfile
  2. +3 −1 Rakefile
2  Gemfile
View
@@ -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
4 Rakefile
View
@@ -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

1 comment on commit 827a0fe

Joost Baaij

Great! Incentive for me to make another pass through the rdocs and do a little maintenance.

Please sign in to comment.
Something went wrong with that request. Please try again.