From dd5397a57c39da78f22e0fec517ff6e5ede7628a Mon Sep 17 00:00:00 2001 From: Marcel Molina Date: Thu, 27 Apr 2006 18:22:20 +0000 Subject: ActionController::Base Summary documentation rewrite. Closes #4900. [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/Rakefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'actionpack/Rakefile') diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 8bf12fecd6..0cdd8e1683 100755 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -46,8 +46,12 @@ Rake::RDocTask.new { |rdoc| rdoc.title = "Action Pack -- On rails from request to response" rdoc.options << '--line-numbers' << '--inline-source' rdoc.template = "#{ENV['template']}.rb" if ENV['template'] - rdoc.rdoc_files.include('README', 'RUNNING_UNIT_TESTS', 'CHANGELOG') - rdoc.rdoc_files.include('lib/**/*.rb') + if ENV['DOC_FILES'] + rdoc.rdoc_files.include(ENV['DOC_FILES'].split(/,\s*/)) + else + rdoc.rdoc_files.include('README', 'RUNNING_UNIT_TESTS', 'CHANGELOG') + rdoc.rdoc_files.include('lib/**/*.rb') + end } # Create compressed packages @@ -144,4 +148,4 @@ task :release => [ :package ] do puts release_command system(release_command) end -end \ No newline at end of file +end -- cgit v1.2.3