Commit 625164c5119b082860a405888283ebd3ac08788b
1 parent
6a548dba
Exists in
master
and in
1 other branch
Tiny tweak to the rdoc options.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
Rakefile
@@ -17,9 +17,9 @@ desc 'Generate documentation for the acts_as_follower gem.' | @@ -17,9 +17,9 @@ desc 'Generate documentation for the acts_as_follower gem.' | ||
17 | Rake::RDocTask.new(:rdoc) do |rdoc| | 17 | Rake::RDocTask.new(:rdoc) do |rdoc| |
18 | rdoc.rdoc_dir = 'rdoc' | 18 | rdoc.rdoc_dir = 'rdoc' |
19 | rdoc.title = 'Acts As Follower' | 19 | rdoc.title = 'Acts As Follower' |
20 | + rdoc.main = 'README.rdoc' | ||
20 | rdoc.options << '--line-numbers' << '--inline-source' | 21 | rdoc.options << '--line-numbers' << '--inline-source' |
21 | - rdoc.rdoc_files.include('README') | ||
22 | - rdoc.rdoc_files.include('lib/**/*.rb') | 22 | + rdoc.rdoc_files.include('README.rdoc', 'lib/**/*.rb') |
23 | end | 23 | end |
24 | 24 | ||
25 | namespace :rcov do | 25 | namespace :rcov do |