Skip to content

Commit

Permalink
Improved RDoc generator options.
Browse files Browse the repository at this point in the history
  • Loading branch information
luislavena committed Jul 7, 2009
1 parent eb643b1 commit 0fe8ec9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tasks/gem.rake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ HOE = Hoe.spec 'mongrel' do
spec_extras[:extensions] = ["ext/http11/extconf.rb"]
spec_extras[:executables] = ['mongrel_rails']

spec_extras[:extra_rdoc_files] = ['LICENSE']
spec_extras[:extra_rdoc_files] = ['README', 'LICENSE', 'History.txt']

spec_extras['rdoc_options'] = proc do |rdoc_options|
rdoc_options << "--main=README"
end

extra_deps << ['gem_plugin', '>= 0.2.3']
extra_dev_deps << ['rake-compiler', ">= 0.5.0"]
Expand Down

0 comments on commit 0fe8ec9

Please sign in to comment.