jazzy
This is a danger plugin to check for undocumented symbols via Jazzy.
Fail on undocumented symbols in modified files.jazzy.check
Fail on undocumented symbols in all files.jazzy.check fail: :all
Warn about undocumented symbols in modified files.jazzy.check warn: :modified
Write a custom message for undocumented symbols in modified files.jazzy.undocumented.each do |item| "You forgot to document this", file:item.file, line:item.line end
Write a custom message for undocumented symbols in all files.jazzy.undocumented(:all).each do |item| "You forgot to document this", file:item.file, line:item.line end
Attributes
path
- Path to the docs folder, defaults to 'docs/'.
Methods
check
- Checks files for modified symbols.
Takes a hash with the following keys:
fail
warn
Available scopes:
modified
all
undocumented
- Returns a list of undocumented symbols in the current diff.
Available scopes:
modified
all