Skip to content

Commit

Permalink
added yard rake task and yardopts
Browse files Browse the repository at this point in the history
  • Loading branch information
jarmo committed Dec 17, 2010
1 parent 0cb85fd commit faa3d00
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ rdoc
pkg

## PROJECT::SPECIFIC
.idea/*
.idea/*

.yardoc/
doc/
6 changes: 6 additions & 0 deletions .yardopts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
--readme README.rdoc
--no-private
--hide-void-return
--title "RAutomation"
--files History.rdoc,LICENSE
--default-return ""
11 changes: 2 additions & 9 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,5 @@ task :spec => :check_dependencies

task :default => :spec

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""

rdoc.rdoc_dir = 'rdoc'
rdoc.title = "RAutomation #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
require 'yard'
YARD::Rake::YardocTask.new

0 comments on commit faa3d00

Please sign in to comment.