Open corranrogue9 opened 4 years ago
@mairaw Can you transfer this issue to the docs repo? Thanks! :)
@GrabYourPitchforks I think we have rights to do that now.
@corranrogue9 any interest in offering a PR for any of this?
@danmosemsft, if you can point me to where the changes need to be made and some guidelines documents, I would be happy to offer a PR
@corranrogue9 there is a contributing guide here https://github.com/dotnet/docs/blob/master/CONTRIBUTING.md
To quickly find the file to edit, just click the "edit" button in the top right of the topic. For example for Enumerable.Max: https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.max?view=netframework-4.8#System_Linq_Enumerable_Max__1_System_Collections_Generic_IEnumerable___0__ this goes to https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Linq/Enumerable.xml
Hopefully this gets you started!
@corranrogue9 will you get a chance to offer a PR?
cc @eiriktsarpalis @adamsitnik area owners.
@carlossanlop is my understanding correct that it would be the best to wait until you finish your work on backporting the docs to dotnet/runtime source and then add this as triple slash comments to source in dotnet/runtime?
No, you're not blocked to offer a fix in dotnet-api-docs. Just let me know so I make sure my backports include your amends.
after thinking about it for a while I decided to wait until the source code becomes the single source of truth
it's just much easier to find all the throwing public methods and add the annotations in the comments rather than updating the doc
perhaps we could even add an analyser for that? at least for the simple cases like arguments validation throws?