Include all READMEs in documentation generated by rake task.

This commit is contained in:
Konstantin Haase 2010-09-22 07:41:01 +02:00
parent 52d4311315
commit c2705a9ff7
1 changed files with 2 additions and 2 deletions

View File

@ -47,11 +47,11 @@ task 'doc' => ['doc:api']
task 'doc:api' => ['doc/api/index.html']
file 'doc/api/index.html' => FileList['lib/**/*.rb','README.rdoc'] do |f|
file 'doc/api/index.html' => FileList['lib/**/*.rb', 'README.*'] do |f|
require 'rbconfig'
hanna = RbConfig::CONFIG['ruby_install_name'].sub('ruby', 'hanna')
rb_files = f.prerequisites
sh((<<-end).gsub(/\s+/, ' '))
sh(<<-end.gsub(/\s+/, ' '))
#{hanna}
--charset utf8
--fmt html