Replies: 2 comments
-
We could probably sort the params by their placement in the method signature, if provided. Patches accepted for this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Opened PR #1065 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use the ability to reference other parameters in conjunction with defining unique parameters. This works great for documenting inheritance chains. However, I've noticed that when doing this, the unique parameters are always rendered first in the documentation. I assume this is probably because of how you lookup the #see references and fill those in during another pass. Nothing serious but a little confusing because the parameter list doesn't match the method definition.
Steps to reproduce
Actual Output
Expected Output
Expected value to come before value2 in the parameter list.
Environment details:
I have read the [Contributing Guide][contrib].
[contrib]: https://github.com/lsegal/yard/blob/master/CONTRIBUTING.md
Beta Was this translation helpful? Give feedback.
All reactions