Rakefile in wankel-0.5.0 vs Rakefile in wankel-0.6.0

- old
+ new

@@ -3,11 +3,11 @@ Bundler.require(:development) require "rake/extensiontask" require "rake/testtask" require "rubygems/package_task" -require "rdoc/task" +require "sdoc" require 'fileutils' if ENV['COVERALLS_REPO_TOKEN'] require 'simplecov' require 'coveralls' @@ -63,5 +63,22 @@ data["Unit Tests"]["coverage"]["#{File.dirname(__FILE__)}/#{src_dir}/#{f}"] = file_data SimpleCov::ResultMerger.store_result(data) end end + +RDoc::Task.new do |rdoc| + rdoc.main = 'README.md' + rdoc.title = 'Wankel API' + rdoc.rdoc_dir = 'doc' + + rdoc.rdoc_files.include('README.md') + rdoc.rdoc_files.include('logo.png') + rdoc.rdoc_files.include('lib/**/*.rb') + rdoc.rdoc_files.include('ext/**/*.{h,c}') + + rdoc.options << '-f' << 'sdoc' + rdoc.options << '-T' << '42floors' + rdoc.options << '--charset' << 'utf-8' + rdoc.options << '--line-numbers' + rdoc.options << '--github' +end \ No newline at end of file