From ae294afa8d0a68d39613382d84cfba8821e48e38 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Sun, 16 Oct 2005 03:00:44 +0000 Subject: Documentation updates/fixes for railties git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/Rakefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'railties/Rakefile') diff --git a/railties/Rakefile b/railties/Rakefile index 38b7ff27c2..d66c425e03 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -227,6 +227,16 @@ task :generate_app_doc do system %{cd #{PKG_DESTINATION}; rake appdoc} end +Rake::RDocTask.new { |rdoc| + rdoc.rdoc_dir = 'doc' + rdoc.title = "Railties -- Gluing the Engine to the Rails" + rdoc.options << '--line-numbers --inline-source --accessor cattr_accessor=object' + rdoc.template = "#{ENV['template']}.rb" if ENV['template'] + rdoc.rdoc_files.include('README', 'CHANGELOG') + rdoc.rdoc_files.include('lib/*.rb') + rdoc.rdoc_files.include('lib/rails_generator/*.rb') + rdoc.rdoc_files.include('lib/commands/**/*.rb') +} # Generate GEM ---------------------------------------------------------------------------- -- cgit v1.2.3