dotnet / dotnet/dotnet-api-docs
Provide a link to the class source file in the class documentation
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
It would be nice to provide a link to the described class' source file. For example when I visit https://docs.microsoft.com/en-us/dotnet/api/system.nullable-1?view=netcore-2.2 I would like to have a link to https://github.com/dotnet/coreclr/blob/master/src/System.Private.CoreLib/shared/System/Nullable.cs (since there is so many versions of .net right now I am not even sure if this is the right definition for core 2.2).
See for example AngularJS documentation website: https://docs.angularjs.org/api/ng/function/angular.isElement, the "View Source" button allows to easily navigate to the source code.
I think this would help a lot of people like me that often instead of reading docs want to see the code.
Contributor guide
Assessment
This issue has not been assessed yet.