-
Notifications
You must be signed in to change notification settings - Fork 27k
build(aio): render param descriptions for function exports #22534
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
build(aio): render param descriptions for function exports #22534
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can now move the common stuff back into the export-base
dc956f8 to
fc53f7a
Compare
|
You can preview fc53f7a at https://pr22534-fc53f7a.ngbuilds.io/. |
|
You can preview dc956f8 at https://pr22534-dc956f8.ngbuilds.io/. |
|
| {% for overload in doc.overloads -%} | ||
| {$ memberHelpers.renderOverloadInfo(overload, 'function-overload', doc) $} | ||
| {% if not loop.last %}<hr class="hr-margin fullwidth">{% endif %} | ||
| {% endfor -%} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intentionally indented 4 spaces?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope!
|
You can preview 8f1f02d at https://pr22534-8f1f02d.ngbuilds.io/. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This change aligns the rendering of exported functions with how methods in classes are rendered.
I am not actually sure if we would ever have overloads of such export functions (I couldn't find any examples in the codebase) but the logic for rendering them is in place.
Closes #22501