Sha256: 06c37f4c5a2f144fe5960a5ee6d5cedf429636f814663dcc050798450a48459e

Contents?: true

Size: 613 Bytes

Versions: 3

Compression:

Stored size: 613 Bytes

Contents

require "bundler/gem_tasks"
task :default => :spec

require 'sdoc' # sdoc https://github.com/zzak/sdoc
require 'rdoc/task'
require 'nanook/version'

#
# Note: `rake rerdoc`` forces a fresh generation of docs
#

RDoc::Task.new do |rdoc|
  rdoc.main = 'README.md' # index page
  rdoc.title = "Nanook #{Nanook::VERSION} Documentation"
  rdoc.rdoc_files.include("README.md")
  rdoc.rdoc_files.include('lib/**/*.rb')
  rdoc.rdoc_dir = "docs/#{Nanook::VERSION}" # name of output directory
  rdoc.generator = 'sdoc' # explictly set the sdoc generator
  rdoc.template = 'rails' # template used on api.rubyonrails.org
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nanook-1.0.2 Rakefile
nanook-1.0.1 Rakefile
nanook-1.0.0 Rakefile