4 CLOBBER.include('doc', '.yardoc')
9 require 'yard/rake/yardoc_task'
12 desc 'Generate Yardoc documentation'
13 YARD::Rake::YardocTask.new do |yardoc|
15 yardoc.options = ['--verbose', '--markup', 'markdown']
17 'lib/**/*.rb', 'ext/**/*.c', '-',
18 'README.md', 'CHANGELOG.md', 'LICENSE'
23 desc 'Alias to doc:yard'
24 task 'doc' => 'doc:yard'
26 # If yard isn't available, it's not the end of the world
27 desc 'Alias to doc:rdoc'
28 task 'doc' => 'doc:rdoc'