Sha256: f288f7984c2a449bef161e9b0e96b38af2f5cb1a3cbf01ce0f8d5b70475429c3

Contents?: true

Size: 681 Bytes

Versions: 2

Compression:

Stored size: 681 Bytes

Contents

begin
  require 'rake/rdoctask'
  require 'sdoc'
  require File.join(File.dirname(__FILE__), 'vendor/sdoc-helpers/markdown')
  require File.join(File.dirname(__FILE__), 'vendor/sdoc-helpers/pages')
  
  Rake::RDocTask.new do |rdoc|
    version = File.exist?('VERSION') ? File.read('VERSION') : ""

    rdoc.rdoc_dir = 'docs'
    rdoc.title = "Nice-n-Easy #{version} Documentation"
    rdoc.rdoc_files.include('README*')
    rdoc.rdoc_files.include('LICENSE')
    rdoc.rdoc_files.include('lib/**/*.rb')
    rdoc.main = 'README.md'
    rdoc.template = 'direct'
    rdoc.options << '--fmt' << 'shtml'
  end
rescue LoadError
  puts "sdoc RDoc tasks not loaded. Please intall sdoc."
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nice-n-easy-1.1.0 tasks/rdoc.rb
nice-n-easy-1.0.0 tasks/rdoc.rb