Skip to content

Commit

Permalink
Configure yard documentation tool
Browse files Browse the repository at this point in the history
Adds a `.yardopts` file to output documentation just for public code.
  • Loading branch information
tijmenb committed Nov 21, 2016
1 parent bc0b36b commit c225ca6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,3 +1,5 @@
slimmer-*.gem
Gemfile.lock
gemfiles/*.lock
.yardoc
docs
6 changes: 6 additions & 0 deletions .yardopts
@@ -0,0 +1,6 @@
--no-private
--markup markdown
--output-dir docs
--embed-mixins
--no-stats
--api public
1 change: 1 addition & 0 deletions slimmer.gemspec
Expand Up @@ -26,6 +26,7 @@ Gem::Specification.new do |s|
s.add_dependency 'activesupport'

s.test_files = Dir['test/**/*']
s.add_development_dependency 'yard', '0.8.7.6'
s.add_development_dependency 'minitest', '~> 5.4'
s.add_development_dependency 'rake', '~> 0.9.2.2'
s.add_development_dependency 'rack-test', '~> 0.6.1'
Expand Down

0 comments on commit c225ca6

Please sign in to comment.