Sha256: 29e7fac3ec43e00ffdc4223f9fe2e93a50b9433602be46a9018a2c596b02ea97
Contents?: true
Size: 618 Bytes
Versions: 4
Compression:
Stored size: 618 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', '--markup', 'markdown'] yardoc.files = [ 'lib/**/*.rb', 'ext/**/*.c', 'README.md', 'CHANGELOG.md', '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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
signet-0.3.4 | tasks/yard.rake |
signet-0.3.3 | tasks/yard.rake |
signet-0.3.2 | tasks/yard.rake |
signet-0.3.1 | tasks/yard.rake |