Skip to content

Commit

Permalink
switched to Jamis Buck's RDoc template
Browse files Browse the repository at this point in the history
  • Loading branch information
James Rosen committed Jun 7, 2008
1 parent 7c298c0 commit f7bce68
Show file tree
Hide file tree
Showing 2 changed files with 593 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Rakefile
Expand Up @@ -10,6 +10,9 @@ require 'rake/testtask'
desc 'Run all tests' desc 'Run all tests'
task :default => ['test:run'] task :default => ['test:run']


task :doc => ['doc:rdoc']
task :test => ['test:run']

namespace :doc do namespace :doc do


def rdoc_dir def rdoc_dir
Expand All @@ -25,6 +28,7 @@ namespace :doc do
Rake::RDocTask.new(:rdoc) do |rdoc| Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = rdoc_dir rdoc.rdoc_dir = rdoc_dir
rdoc.title = 'Rcal Documentation' rdoc.title = 'Rcal Documentation'
rdoc.template = "doc/jamis_template.rb"
rdoc.rdoc_files.include('lib/**/*.rb', 'init.rb', 'doc/*.rdoc') rdoc.rdoc_files.include('lib/**/*.rb', 'init.rb', 'doc/*.rdoc')
rdoc.options << '--line-numbers' rdoc.options << '--line-numbers'
rdoc.options << '--inline-source' rdoc.options << '--inline-source'
Expand Down

0 comments on commit f7bce68

Please sign in to comment.