-
Notifications
You must be signed in to change notification settings - Fork 95
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
Document module classes #117
Comments
Providing a link to latest external documentation is OK, but for SUSE these should probably be transformed to One sentence description of what each function/class does should be included as well. Bare links look bad. |
On top of Oracle's guide for Javadoc my reasoning is that additionally:
Therefore I suggest to keep the following format to all binded methods:
Please note, that we should write generic description and give a URL to the current version of the API. So the developer with the precise version will switch to it. |
The module classes and functions have not been documented so far since they are only bindings to the salt module functions and the documentation already exists there. Furthermore our library may work with different salt versions which could have slightly different but documented behavior. In that case our documentation would never be correct since it always depends against which salt version you run it.
One suggestion by @isbm is to provide links in the documentation of each function/module to the latest documentation on the salt side. That wouldn't be always correct but from there its easy to switch to the documentation of a different version.
The text was updated successfully, but these errors were encountered: