-
Notifications
You must be signed in to change notification settings - Fork 58
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
[FEATURE] Add Java docs and mandate for all new classes #27
Comments
+1. We are small enough right now to fix this without too much effort. |
When I submitted a PR on the core repo yesterday the PR template included a check-off for Javadocs. I'll add that to this repo; may not be an automated check but it will be something that submitters will see when they submit a PR, and should prompt code reviewers to do so as well. Also can we be clear on the policy for Javadocs? My thoughts:
|
I should have added to the above list. If a method overrides a method in a superclass, it automatically inherits that javadoc so it isn't required -- but can be added with the inheritdoc annotation if there's anything additional to say that the superclass/interface javadoc doesn't cover. |
After spending way too much time yesterday implementing the way that the main project does this, I'm thinking I'd prefer to use the Existing method:
In contrast,
@saratvemulapalli and @owaiskazi19 what are your thoughts? |
I would rather add dependencies on maintained components, I'd cast my vote with either If there are missing features in either tool, this would be a good reason to improve them with a proposal and pull request(s) to unblock adoption. |
I would always prefer relying on standard implementation vs something for us to maintain down the line. |
Discussed offline. +1 to @saratvemulapalli |
OK, will switch to require-javadoc for this repo, and get some lessons learned and if we like it suggest for the main repo. FYI, I requested plume-lib/require-javadoc#143 to help minimize trivial documentation. |
Is your feature request related to a problem?
We are missing Java docs for this repository.
What solution would you like?
Lets add support for Java docs and mandate all new classes to have them.
We could run this check as part of the PR check workflow.
The text was updated successfully, but these errors were encountered: