1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

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

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