diff options
author | Marcel Molina <marcel@vernix.org> | 2006-04-27 18:22:20 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2006-04-27 18:22:20 +0000 |
commit | dd5397a57c39da78f22e0fec517ff6e5ede7628a (patch) | |
tree | d1d01a8e299f040c3041ec2218ed94f2419265b9 /actionpack/Rakefile | |
parent | 4d007ce65a950a126590e9bbaca821a356ef9a6f (diff) | |
download | rails-dd5397a57c39da78f22e0fec517ff6e5ede7628a.tar.gz rails-dd5397a57c39da78f22e0fec517ff6e5ede7628a.tar.bz2 rails-dd5397a57c39da78f22e0fec517ff6e5ede7628a.zip |
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
Diffstat (limited to 'actionpack/Rakefile')
-rwxr-xr-x | actionpack/Rakefile | 10 |
1 files changed, 7 insertions, 3 deletions
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 |