-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
API documentation debt - System.Collections #43850
Comments
Tagging subscribers to this area: @eiriktsarpalis, @jeffhandley |
@carlossanlop is there an analyzer or warning setting that would give errors (so clearing out the errors would resolve this issue)? Is there a preferred ordering of tags, eg., summary, typeparam, remarks? |
@danmosemsft Yes, there is a way: https://docs.microsoft.com/en-us/dotnet/csharp/codedoc But we don't want to enable it yet, it will cause a lot of noise if any public APIs do not have documentation in source, which is the case for a lot of them. We will first have to port back everything from dotnet-api-docs to triple slash comments and then we will enable that rule. We are working on the plan for this, and we will work on it assembly by assembly. I'll let you know when we are ready to begin. To answer your question, my suggestion is to simply add the missing documentation from the table. Once we run the DocsPortingTool, it will detect and port only the items that are missing in dotnet-api-docs. Items with existing documentation in that repo will not get their documentation overwritten.
Visual Studio will automatically add the required skeleton if the user types "///" on top of the API to document. |
I was just thinking for someone fixing an issue like this, where the source is nearly all documented, they may want to enable it locally so it guides them to the problems. |
I was looking to see if I could add the missing typeparams into the code, but appear to have hit a wall. The mentioned classes are split into multiple files with partial classes. In the case of Lines 14 to 37 in a350bc6
When it comes to the Lines 9 to 18 in a350bc6
When I would add the When adding a comment (including Could you indicate how the documentation gets this |
Superseded by #54869. |
Area owners: @eiriktsarpalis @layomia
The APIs in the list below are missing some or all of their documentation. Please add the missing documentation directly in triple slash comments in source. We will make sure it gets ported to dotnet-api-docs after it's merged.
Make sure to follow the documentation guidelines defined in the dotnet-api-docs wiki:
https://github.com/dotnet/dotnet-api-docs/wiki
Also please add me as a PR reviewer.
Community contributions are welcome.
System.Collections
The text was updated successfully, but these errors were encountered: