Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings in yard doc generation #1594

Closed
d4rk5eed opened this issue Jan 24, 2015 · 2 comments · Fixed by #1595
Closed

Warnings in yard doc generation #1594

d4rk5eed opened this issue Jan 24, 2015 · 2 comments · Fixed by #1595

Comments

@d4rk5eed
Copy link

Got some warnings in yard doc

[warn]: Invalid tag format for @example in file `lib/rubocop/cop/corrector.rb` near line 33
[warn]: Invalid tag format for @example in file `lib/rubocop/cop/style/module_function.rb` near line 15
[warn]: Invalid tag format for @example in file `lib/rubocop/cop/style/indentation_width.rb` near line 15
[warn]: Invalid tag format for @example in file `lib/rubocop/cop/lint/require_parentheses.rb` near line 20
[warn]: Invalid tag format for @example in file `lib/rubocop/cop/style/indentation_consistency.rb` near line 16
[warn]: Invalid tag format for @example in file `lib/rubocop/cop/style/method_called_on_do_end_block.rb` near line 15
[warn]: Invalid tag format for @example in file `lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb` near line 12

Shoud it be corrected?

@bbatsov
Copy link
Collaborator

bbatsov commented Jan 24, 2015

Sure.

On 24 January 2015 at 16:16, d4rk5eed notifications@github.com wrote:

Got some warnings in yard doc

[warn]: Invalid tag format for @example in file lib/rubocop/cop/corrector.rb near line 33
[warn]: Invalid tag format for @example in file lib/rubocop/cop/style/module_function.rb near line 15
[warn]: Invalid tag format for @example in file lib/rubocop/cop/style/indentation_width.rb near line 15
[warn]: Invalid tag format for @example in file lib/rubocop/cop/lint/require_parentheses.rb near line 20
[warn]: Invalid tag format for @example in file lib/rubocop/cop/style/indentation_consistency.rb near line 16
[warn]: Invalid tag format for @example in file lib/rubocop/cop/style/method_called_on_do_end_block.rb near line 15
[warn]: Invalid tag format for @example in file lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb near line 12

Shoud it be corrected?


Reply to this email directly or view it on GitHub
#1594.

@mattjmcnaughton
Copy link
Contributor

I can fix this unless anyone else wants to! It's just a problem with those examples not being properly indented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants