rake/rdoc.rb
changeset 9 143e61e24c08
parent 8 308f7dc97753
child 10 389e66b0d38e
--- a/rake/rdoc.rb	Wed Aug 06 17:38:56 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-# 
-# RDoc Rake tasks
-# $Id$
-# 
-
-BEGIN {
-	require 'pathname'
-	basedir = Pathname.new( __FILE__ ).dirname.parent
-	docsdir = basedir + 'docs'
-	
-	$LOAD_PATH << docsdir.to_s
-}
-
-require 'rake/rdoctask'
-
-gem 'darkfish-rdoc', '>= 1.1.0'
-require 'darkfish-rdoc'
-
-### 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
-