-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
False undocumented methods, mangled parameters. #1101
Comments
woodruffw
added a commit
to kbsecret/kbsecret
that referenced
this issue
Jul 1, 2017
These comments were confusing YARD. See lsegal/yard#1101
Thank you! |
No problem, thanks for reporting this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having problems with my yardoc generated documentation in a particular file, which you can find here:
https://github.com/woodruffw/kbsecret/blob/945ee8ebc8d7d44580aaf3585bb744ce1037293a/lib/kbsecret/record/abstract.rb
Steps to reproduce
You can also see this bug in the rubydoc.info generated page.
Actual Output
The
load!
,initialize
, andinitialize_from_hash
methods have their parameter lists mangled:Furthermore, the actual documentation detail is missing for each (except for
@note
and@api private
tags):yard stats --list-undoc
also incorrectly shows these methods as undocumented:Expected Output
Expected: correctly presented parameter names, full documentation detail under each method, and each method recognized as documented.
Environment details:
ruby -v
):ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux-gnu]
yard -v
):yard 0.9.9
I have read the Contributing Guide.
The text was updated successfully, but these errors were encountered: