[GH-2793] Exclude examples from documented methods

Example code in various providers directories is getting picked up by
Yard when documenting such that a number of global constants and helpers
are appearing to be part of fog.

This excludes them using `.yardopts`

It also excludes generated documentation from provider subdirectories
from git.
This commit is contained in:
Paul Thornthwaite 2014-03-28 09:44:30 +00:00
Родитель 040fb95075
Коммит 0ff2217789
2 изменённых файлов: 3 добавлений и 0 удалений

2
.gitignore поставляемый
Просмотреть файл

@ -26,3 +26,5 @@ spec/credentials.yml
vendor/*
tags
tests/digitalocean/fixtures/
providers/*/doc

1
.yardopts Normal file
Просмотреть файл

@ -0,0 +1 @@
--exclude 'lib/fog/.*/examples'