equal
deleted
inserted
replaced
|
1 # |
|
2 # RDoc Rake tasks |
|
3 # $Id$ |
|
4 # |
|
5 |
|
6 require 'rake/rdoctask' |
|
7 |
|
8 ### Task: rdoc |
|
9 Rake::RDocTask.new do |rdoc| |
|
10 rdoc.rdoc_dir = 'docs/api' |
|
11 rdoc.title = "%s -- %s" % [ GEMSPEC.name, GEMSPEC.summary ] |
|
12 |
|
13 rdoc.options += [ |
|
14 '-w', '4', |
|
15 '-SHN', |
|
16 '-i', BASEDIR.to_s, |
|
17 '-f', 'darkfish', |
|
18 '-m', 'README', |
|
19 '-W', 'http://opensource.laika.com/browser/ruby-ezmlm/trunk/' |
|
20 ] |
|
21 |
|
22 rdoc.rdoc_files.include 'README' |
|
23 rdoc.rdoc_files.include LIB_FILES.collect {|f| f.relative_path_from(BASEDIR).to_s } |
|
24 end |
|
25 |