rake/rdoc.rb
changeset 1 1d3cfd4837a8
child 5 804e1c2b9a40
equal deleted inserted replaced
0:1b096869b568 1:1d3cfd4837a8
       
     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