Created
October 28, 2008 20:26
-
-
Save rhyhann/20506 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'lib/helpers.rb' | |
class Rdoc < Thor | |
desc "generate", "generates the rDoc documentation" | |
def generate | |
require 'rdoc' | |
require 'rake/rdoctask' | |
gem 'darkfish-rdoc' | |
require 'darkfish-rdoc' | |
Rake::RDocTask.new do |rdoc| | |
rdoc.title = "MyFantasticLibrary - a library of utter fantasticness" | |
rdoc.rdoc_files.include 'README' | |
rdoc.options += [ | |
'-SHN', | |
'-f', 'darkfish', # This is the important bit | |
] | |
end | |
end | |
end | |
# vim:filetype=ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment