dotnet / dotnet/dotnet-api-docs

Provide a link to the class source file in the class documentation

Open
#1,423 1 comment 1 reaction 0 assignees View on GitHub
area-Infrastructure Pri3 untriaged
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.