-
Notifications
You must be signed in to change notification settings - Fork 3k
Docs: netsocket group doxygen fixes #8541
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
Docs: netsocket group doxygen fixes #8541
Conversation
replaced with copydoc instead
* @param optval Option value | ||
* @param optlen Length of the option value | ||
* @return 0 on success, negative error code on failure | ||
/** @copydoc NetworkStack::setsockopt |
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 even this explicit command necessary? The Doxygen config got automatic inheritance turned on recently, IIRC.
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.
Inconsistency throughout on whether or not @return
ends with a period or not.
features/netsocket/CellularBase.h
Outdated
/** CellularBase class | ||
* | ||
* Common interface that is shared between Cellular interfaces | ||
/** Common interface that is shared between Cellular interfaces |
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.
Missing .
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 Cellular definitely a proper noun in this context?
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.
No, it isn't.
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.
Do not capitalize cellular.
features/netsocket/WiFiInterface.h
Outdated
@@ -22,9 +22,8 @@ | |||
#include "netsocket/NetworkInterface.h" | |||
#include "netsocket/WiFiAccessPoint.h" | |||
|
|||
/** WiFiInterface class | |||
/** Common interface that is shared between WiFi devices. |
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.
Wi-Fi
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.
Though this depends entirely on context. Chasing up.
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.
Instances of Wi-Fi that are not a class or variable should be styled as Wi-Fi, not WiFi.
Ah, sorry. Hadn't seen that you already changed the capitalization. |
review two travis failues in docs
|
@@ -74,7 +74,7 @@ class WiFiInterface: public virtual NetworkInterface { | |||
virtual nsapi_error_t connect(const char *ssid, const char *pass, | |||
nsapi_security_t security = NSAPI_SECURITY_NONE, uint8_t channel = 0) = 0; | |||
|
|||
/** Attempt to connect to a WiFi network. Requires ssid and passphrase to be set. | |||
/** Attempt to connect to a Wi-Fi network. Requires ssid and passphrase to be set. |
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.
SSID
features/netsocket/WiFiInterface.h
Outdated
@@ -74,7 +74,7 @@ class WiFiInterface: public virtual NetworkInterface { | |||
virtual nsapi_error_t connect(const char *ssid, const char *pass, | |||
nsapi_security_t security = NSAPI_SECURITY_NONE, uint8_t channel = 0) = 0; | |||
|
|||
/** Attempt to connect to a WiFi network. Requires ssid and passphrase to be set. | |||
/** Attempt to connect to a Wi-Fi network. Requires ssid and passphrase to be set. | |||
* If passphrase is invalid, NSAPI_ERROR_AUTH_ERROR is returned. | |||
* | |||
* @return NSAPI_ERROR_OK on success, negative error code on failure |
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.
Missing .
Note: This PR is now a part of a rollup PR (#8552). No further work is needed here, as once that PR is merged, this PR will also be closed and marked as merged. If any more commits are made to this PR, this will have to go through CI on it's own. |
Description
Doxygen cleanup, missing funcs doc added, removed protected. Use copydoc instead of copy-paste to avoid docs diverging.
Pull request type