Permalink
Browse files

Include all READMEs in documentation generated by rake task.

  • Loading branch information...
1 parent 52d4311 commit c2705a9ff74885249033e28a6c57f9bb88fd156b @rkh rkh committed Sep 22, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -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

0 comments on commit c2705a9

Please sign in to comment.