Skip to content

Commit

Permalink
Add YARD for pretty documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed May 29, 2011
1 parent 982e425 commit 56a0044
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .yardopts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--markup markdown
-
LICENSE.md
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Installation

Documentation
-------------
[http://rdoc.info/gems/gems](http://rdoc.info/gems/gems) [pending]
[http://rdoc.info/gems/gems](http://rdoc.info/gems/gems)

Continuous Integration
----------------------
Expand Down
8 changes: 8 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,11 @@

require 'bundler'
Bundler::GemHelper.install_tasks

require 'yard'
namespace :doc do
YARD::Rake::YardocTask.new do |task|
task.files = ['LICENSE.md', 'lib/**/*.rb']
task.options = ['--markup', 'markdown']
end
end
3 changes: 2 additions & 1 deletion gems.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ require File.expand_path('../lib/gems/version', __FILE__)

Gem::Specification.new do |gem|
gem.add_development_dependency 'rake', '~> 0.9'
gem.add_development_dependency 'yard', '~> 0.7'
gem.add_runtime_dependency 'faraday', '~> 0.6.1'
gem.add_runtime_dependency 'faraday_middleware', '~> 0.6.4'
gem.add_runtime_dependency 'faraday_middleware', '~> 0.6.3'
gem.add_runtime_dependency 'hashie', '~> 1.0.0'
gem.add_runtime_dependency 'multi_json', '~> 1.0.3'
gem.add_runtime_dependency 'rash', '~> 0.3.0'
Expand Down

0 comments on commit 56a0044

Please sign in to comment.