lib/rake/sdoctask.rb in brianjlandau-sdoc-helpers-0.1.4 vs lib/rake/sdoctask.rb in brianjlandau-sdoc-helpers-0.1.5
- old
+ new
@@ -1,6 +1,6 @@
-require 'rake/rdoctask'
+require 'rdoc/task'
module Rake
# Just a customized version of the normal RDoc task for generating SDocs.
class SDocTask < RDocTask
def initialize
@@ -10,10 +10,10 @@
@rdoc_files.include('LICENSE*')
@rdoc_files.include('lib/**/*.rb')
@rdoc_dir = 'docs'
@main = Dir['README*'].first
@title = nil
- @template = 'direct'
+ @template = 'sdoc'
@external = false
@inline_source = true
@options = ['--fmt', 'shtml']
yield self if block_given?
define