Sha256: c8735ea592d8ca00ece15920ada5f17564ea243eb229a6514fc5d07e7973d343
Contents?: true
Size: 588 Bytes
Versions: 31
Compression:
Stored size: 588 Bytes
Contents
require 'rake' begin require 'yard' require 'yard/rake/yardoc_task' namespace :doc do desc 'Generate Yardoc documentation' YARD::Rake::YardocTask.new do |yardoc| yardoc.name = 'yard' yardoc.options = ['--verbose'] yardoc.files = [ 'lib/**/*.rb', 'ext/**/*.c', 'README', 'CHANGELOG', 'LICENSE' ] end end task 'clobber' => ['doc:clobber_yard'] desc 'Alias to doc:yard' task 'doc' => 'doc:yard' rescue LoadError # If yard isn't available, it's not the end of the world desc 'Alias to doc:rdoc' task 'doc' => 'doc:rdoc' end
Version data entries
31 entries across 31 versions & 8 rubygems