Permalink
Browse files

yet more rdoc changes

  • Loading branch information...
1 parent 4266216 commit cb727c3d3f34a280119d9814bac5e83efb11c53e @defunkt committed Aug 21, 2007
Showing with 14 additions and 0 deletions.
  1. +14 −0 Rakefile
View
@@ -0,0 +1,14 @@
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+
+desc 'Generate RDoc documentation for the Gibberish plugin.'
+Rake::RDocTask.new(:rdoc) do |rdoc|
+ files = ['README', 'LICENSE', 'lib/**/*.rb']
+ rdoc.rdoc_files.add(files)
+ rdoc.main = "README" # page to start on
+ rdoc.title = "gibberish"
+ rdoc.template = File.exists?(t="/Users/chris/ruby/projects/err/rock/template.rb") ? t : "/var/www/rock/template.rb"
+ rdoc.rdoc_dir = 'doc' # rdoc output folder
+ rdoc.options << '--inline-source'
+end

0 comments on commit cb727c3

Please sign in to comment.