[Feature] Restore API signatures to member pages like they were on the wiki

On the wiki, API members used to have signatures that would describe their types, argument names, etc, in one glance. While these do exist on the DevHub, they only seem to be shown on class pages currently.

Could we please have these back?

9 Likes

To clarify, this is about the code block at the top of the page that contains the function signature.

I’m lazy and I used to copy and paste signatures into my code to save on typing while using the wiki. Autosuggest also doesn’t suggest arguments after clicking out of the parenthesis, so I tend to forget the argument list. I would find it very helpful to have this back.

Some quick mocks for what I think might be acceptable placement:

2 Likes