Repository navigation
Description
Some comments, on classes primarily related to EventSource/DiagnosticSource, have urls in them that point to docs located in archived corefx repo, perhaps they should be repointed to docs that are at runtime repo? Or is it intended to have docs point to corefx repo?
An alternative would be to extract such docs to separate docs pages at dotnet/docs repo for example rather than having them at corefx/runtime repo.
Here are urls that i found:
runtime/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs
Line 211 in 6da2046
| /// See <see href="https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/ActivityUserGuide.md#id-format"/> for more details |
runtime/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs
Line 249 in 6da2046
| /// See <see href="https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/ActivityUserGuide.md#id-format"/> for more details |
runtime/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs
Line 282 in 6da2046
| /// See <see href="https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/ActivityUserGuide.md#id-format"/> for more details |
runtime/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Activity.cs
Line 1760 in 6da2046
| Hierarchical = 1, //|XXXX.XX.X_X ... see https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/ActivityUserGuide.md#id-format |
Line 26 in 6da2046
| /// https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/DiagnosticSourceUsersGuide.md |
runtime/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSource.cs
Line 14 in 6da2046
| /// https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.DiagnosticSource/src/DiagnosticSourceUsersGuide.md |
runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventCounter.cs
Line 13 in 6da2046
| /// See https://github.com/dotnet/corefx/blob/master/src/System.Diagnostics.Tracing/documentation/EventCounterTutorial.md |
Line 301 in 6da2046
| /// (see https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md#DocumentNameBlob). |
| // https://github.com/dotnet/corefx/blob/master/src/System.Reflection.Metadata/specs/PortablePdb-Metadata.md |
Activity
danmoseley commentedon Aug 10, 2022
Thanks for pointing this out. Would you be interested in offering a PR to point them to runtime repo?
N0D4N commentedon Aug 10, 2022
Yeah, sure. I assume I should just change XMLdocs or are there other places that require changes too?
danmoseley commentedon Aug 10, 2022
I assumed you could just Grep the repo for coreclr/corefx links? And fix some or all as you prefer. I don't think there is any reason for such links. All code and issues were migrated here.
N0D4N commentedon Aug 10, 2022
Sure, got it.