diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-24 02:02:12 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-24 02:02:12 +0000 |
commit | 3c1f7ee60ff6125972f532cdb295c85e38146405 (patch) | |
tree | f5dbcda38851c334387019164ed534698d32d9e5 /activesupport/Rakefile | |
parent | af56c806bcf915f8125302001bf91bd20268966a (diff) | |
download | rails-3c1f7ee60ff6125972f532cdb295c85e38146405.tar.gz rails-3c1f7ee60ff6125972f532cdb295c85e38146405.tar.bz2 rails-3c1f7ee60ff6125972f532cdb295c85e38146405.zip |
Documentation stuff
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/Rakefile')
-rw-r--r-- | activesupport/Rakefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile index 3abf82daaf..84c4d01f6a 100644 --- a/activesupport/Rakefile +++ b/activesupport/Rakefile @@ -1,4 +1,5 @@ require 'rake/testtask' +require 'rake/rdoctask' require 'rake/gempackagetask' require 'rake/contrib/rubyforgepublisher' @@ -15,6 +16,18 @@ Rake::TestTask.new { |t| # Create compressed packages dist_dirs = [ "lib", "test"] +# Genereate the RDoc documentation + +Rake::RDocTask.new { |rdoc| + rdoc.rdoc_dir = 'doc' + rdoc.title = "Active Support -- Utility classes and standard library extensions from Rails" + rdoc.options << '--line-numbers --inline-source --main README' + rdoc.rdoc_files.include('README', 'CHANGELOG') + rdoc.rdoc_files.include('lib/active_support.rb') + rdoc.rdoc_files.include('lib/active_support/*.rb') + rdoc.rdoc_files.include('lib/active_support/**/*.rb') +} + spec = Gem::Specification.new do |s| s.name = PKG_NAME s.version = PKG_VERSION |