forked from rubocop/rubocop-rspec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DO NOT SQUASH] Add support for adding docs from modules
Due to yard's override of docs when the docs are defined in several files for the same class ([see this issue](lsegal/yard#1173)), it's impossible to spread the docs to several files so that they are compiled into one document (e.g. a manual). Comparison using: RuboCop::Cop::Badge.for(code_object.to_s) == cop.badge makes it impossible to put the docs on the included module level without filtering out those modules for which a badge can't be inferred, because `RuboCop::Cop::Badge.for` raises an error.
- Loading branch information
Showing
1 changed file
with
52 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters