1 require 'rake/rdoctask'
3 Rake::RDocTask.new do |rd|
4 rd.main = "README.rdoc"
5 rd.rdoc_files.include("README.rdoc", "lib/**/*.rb")
6 rd.rdoc_dir = "web/public/api"
7 rd.title = "amazing api"
8 rd.options << '--charset' << 'utf-8' <<
9 '--inline-source' << '--line-numbers' <<
10 '--webcvs' << 'http://github.com/dag/amazing/tree/master/%s'