Parent

Methods

RedminePluginSupport::RDocTask

Public Instance Methods

define() click to toggle source
# File lib/redmine_plugin_support/rdoc_task.rb, line 5
def define

  desc "Generate documentation for XXX"
  Rake::RDocTask.new(:doc) do |rdoc|
    rdoc.rdoc_dir = 'doc'
    rdoc.title    = Base.instance.project_name
    rdoc.options << '--line-numbers' << '--inline-source'
    rdoc.rdoc_files.include('README.rdoc')
    rdoc.rdoc_files.include('lib/**/*.rb')
    rdoc.rdoc_files.include('app/**/*.rb')
  end
  self
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.