Adding javadocs to methods in fabric-carpet #835
Ghoulboy78
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Example: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Let me add a few ideas, which is what I've seen in most javadoc conventions out there that have worked quite nicely, and a few own things.
If javadocing eveything, we should actually make a convention so docs are at least consistent. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A mirror of #831 , I realised that it worked better as a discussion.
Ok, now after consultation with gnembon, there is a new plan:
The plan
Similarly to #837, we will have a list of the diffferent parts of the code. In this case, it's one checkbox for each concept and group of files, as in the code functions from one file can be used everywhere, so below are listed the different topics/areas
Carpet Commands
Parsing of Scarpet
All the Scarpet functions:
API:
Language:
Please refrain from adding javadocs to unimportant private fields/variables, not to getters and setters. Also don't add javadocs to files in carpet.fakes, as yarn ma have beter and more up-to-date javadocs for them. Also make sure to add
returns -
andthrows-
to the javadocs where appropriate and where necessary.See my first comment below to see how to choose an option from above. Please list all the relevant files which would need to be updated, and if only part of a file has relevant functions to your option, then only update those functions. Also please keep discussions in the space provided by the PR.
Also try to have only 1 javadoc update PR open at a time (This is as much an instruction as a note to self...)
Beta Was this translation helpful? Give feedback.
All reactions