Permalink
Browse files

explicitly told rdoc to include the readme before setting it to main

  • Loading branch information...
1 parent ef19d1a commit 71683e1c27138520be92a09db756c7f65f9accca @matthewrobertson matthewrobertson committed Nov 30, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 Rakefile
View
@@ -130,11 +130,12 @@ Thanks for installing SciRuby! Happy hypothesis testing!
end
RDoc::Task.new(:docs) do |rd|
- rd.main = h.readme_file
rd.options << '-d' if (`which dot` =~ /\/dot/) unless
ENV['NODOT'] || Hoe::WINDOZE
rd.rdoc_dir = 'doc'
+ rd.rdoc_files.include(h.readme_file)
+ rd.main = h.readme_file
rd.rdoc_files.include("lib/**/*.rb")
rd.rdoc_files += h.spec.extra_rdoc_files
rd.rdoc_files.reject! {|f| f=="Manifest.txt"}

0 comments on commit 71683e1

Please sign in to comment.