-
-
Notifications
You must be signed in to change notification settings - Fork 732
Demonstrate return type format in the sample #199
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
Comments
I agree. In fact it would be extremely helpful if the the documentation also included the argument types. For functions with multiple argument options and types why not replicate the format used at cppreference.com (see example: http://en.cppreference.com/w/cpp/numeric/math/pow). |
I would like to make a suggestion here, too. I would organize the whole section from parameters to returns (See image) like the example shown below: Parameters
Returns
For the Syntax section I personally would use the suggestion from @dkovari, like SyntaxpulseIn(int pin, int value)
pulseIn(int pin, int value, unsigned long timeout) Gist for example is here: https://gist.github.com/SeppPenner/2df12e8f7fb058a3651913839998d468 |
I notice the formatting of return types documentation is very inconsistent from page to page throughout the documentation. The sample page should establish a formatting standard for return types but currently it only demonstrates how void functions should be documented.
The text was updated successfully, but these errors were encountered: