Website stuff
[amazing.git] / Rakefile
blobe08c3002d9fe223f8dd0274a4ee24e907d04fb33
1 # Copyright (C) 2008 Dag Odenhall <dag.odenhall@gmail.com>
2 # Licensed under the Academic Free License version 3.0
4 require 'rake/rdoctask'
6 Rake::RDocTask.new do |rd|
7   rd.main = "README.rdoc"
8   rd.rdoc_files.include("README.rdoc", "COPYING", "lib/**/*.rb")
9   rd.rdoc_dir = "web/public/api"
10   rd.title = "amazing api"
11   rd.options << '--charset' << 'utf-8' <<
12                 '--inline-source' << '--line-numbers' <<
13                 '--webcvs' << 'http://github.com/dag/amazing/tree/master/%s'
14 end