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:
parent
52d4311315
commit
c2705a9ff7
1 changed files with 2 additions and 2 deletions
4
Rakefile
4
Rakefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue