add yard documentation config
This commit is contained in:
parent
ea2ae21923
commit
24b0628825
5 changed files with 11 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -13,6 +13,8 @@ public/**/*_cached.*
|
|||
.get-dump.yml
|
||||
.sass-cache/
|
||||
doc/app/
|
||||
doc/api/
|
||||
.yarddoc/
|
||||
# Deployment tools
|
||||
Capfile
|
||||
config/deploy.rb
|
||||
|
|
1
.yardopts
Normal file
1
.yardopts
Normal file
|
@ -0,0 +1 @@
|
|||
-o doc/api --plugin yard-activerecord --no-private --protected app/**/*.rb db/schema.rb - *.md doc/**/*.md LICENSE
|
2
Gemfile
2
Gemfile
|
@ -78,6 +78,8 @@ end
|
|||
|
||||
group :development, :test do
|
||||
gem 'ruby-prof', require: false
|
||||
gem 'yard-activerecord', require: false
|
||||
#gem 'yard-rails-plugin', github: 'ogeidix/yard-rails-plugin', tag: 'v0.0.1', require: false
|
||||
end
|
||||
|
||||
group :test do
|
||||
|
|
|
@ -386,6 +386,9 @@ GEM
|
|||
rinku
|
||||
xpath (2.0.0)
|
||||
nokogiri (~> 1.3)
|
||||
yard (0.8.7.4)
|
||||
yard-activerecord (0.0.11)
|
||||
yard (>= 0.8.3)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
@ -453,3 +456,4 @@ DEPENDENCIES
|
|||
twitter-bootstrap-rails
|
||||
uglifier (>= 1.0.3)
|
||||
whenever
|
||||
yard-activerecord
|
||||
|
|
|
@ -4,6 +4,7 @@ Foodsoft
|
|||
[![Coverage Status](https://coveralls.io/repos/foodcoops/foodsoft/badge.png?branch=master)](https://coveralls.io/r/foodcoops/foodsoft?branch=master)
|
||||
[![Code Climate](https://codeclimate.com/github/foodcoops/foodsoft.png)](https://codeclimate.com/github/foodcoops/foodsoft)
|
||||
[![Dependency Status](https://gemnasium.com/foodcoops/foodsoft.png)](https://gemnasium.com/foodcoops/foodsoft)
|
||||
[![yard docs](http://b.repl.ca/v1/yard-docs-blue.png)](http://rubydoc.info/github/foodcoops/foodsoft/frames)
|
||||
|
||||
Web-based software to manage a non-profit food coop (product catalog, ordering, accounting, job scheduling).
|
||||
|
||||
|
|
Loading…
Reference in a new issue