rake/rdoc.rb
author Michael Granger <mgranger@laika.com>
Fri, 09 May 2008 17:51:36 +0000
changeset 4 8c4ae0797d5f
parent 1 1d3cfd4837a8
child 5 804e1c2b9a40
permissions -rw-r--r--
Added more archive-related functions: - Fetch the last post to the list - Fetch date/author/subject of the last post to the list - Fetch message count

# 
# RDoc Rake tasks
# $Id$
# 

require 'rake/rdoctask'

### Task: rdoc
Rake::RDocTask.new do |rdoc|
	rdoc.rdoc_dir = 'docs/api'
	rdoc.title    = "%s -- %s" % [ GEMSPEC.name, GEMSPEC.summary ]

	rdoc.options += [
		'-w', '4',
		'-SHN',
		'-i', BASEDIR.to_s,
		'-f', 'darkfish',
		'-m', 'README',
		'-W', 'http://opensource.laika.com/browser/ruby-ezmlm/trunk/'
	  ]
	
	rdoc.rdoc_files.include 'README'
	rdoc.rdoc_files.include LIB_FILES.collect {|f| f.relative_path_from(BASEDIR).to_s }
end