Skip to content

Commit b03392d

Browse files
committed
Use org profile links for diagnostics
1 parent d74f511 commit b03392d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/SponsorLink/SponsorLink/DiagnosticsManager.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public Diagnostic Push(string product, Diagnostic diagnostic)
9999
DiagnosticSeverity.Info,
100100
isEnabledByDefault: true,
101101
description: ThisAssembly.Strings.Sponsor.Description,
102-
helpLinkUri: ThisAssembly.Git.Url,
102+
helpLinkUri: "https://github.com/devlooped#sponsorlink",
103103
"DoesNotSupportF1Help");
104104

105105
static DiagnosticDescriptor CreateUnknown(string[] sponsorable, string product, string prefix) => new(
@@ -112,7 +112,7 @@ public Diagnostic Push(string product, Diagnostic diagnostic)
112112
description: ThisAssembly.Strings.Unknown.Description(
113113
sponsorable.Humanize(x => $"https://github.com/sponsors/{x}"),
114114
string.Join(" ", sponsorable)),
115-
helpLinkUri: "https://www.devlooped.com/SponsorLink/",
115+
helpLinkUri: "https://github.com/devlooped#sponsorlink",
116116
WellKnownDiagnosticTags.NotConfigurable);
117117

118118
static DiagnosticDescriptor CreateExpiring(string[] sponsorable, string prefix) => new(
@@ -123,7 +123,7 @@ public Diagnostic Push(string product, Diagnostic diagnostic)
123123
DiagnosticSeverity.Warning,
124124
isEnabledByDefault: true,
125125
description: ThisAssembly.Strings.Expiring.Description(string.Join(" ", sponsorable)),
126-
helpLinkUri: "https://www.devlooped.com/SponsorLink/github.html#auto-sync",
126+
helpLinkUri: "https://github.com/devlooped#autosync",
127127
"DoesNotSupportF1Help", WellKnownDiagnosticTags.NotConfigurable);
128128

129129
static DiagnosticDescriptor CreateExpired(string[] sponsorable, string prefix) => new(
@@ -134,6 +134,6 @@ public Diagnostic Push(string product, Diagnostic diagnostic)
134134
DiagnosticSeverity.Warning,
135135
isEnabledByDefault: true,
136136
description: ThisAssembly.Strings.Expired.Description(string.Join(" ", sponsorable)),
137-
helpLinkUri: "https://www.devlooped.com/SponsorLink/github.html#auto-sync",
137+
helpLinkUri: "https://github.com/devlooped#autosync",
138138
"DoesNotSupportF1Help", WellKnownDiagnosticTags.NotConfigurable);
139139
}

0 commit comments

Comments
 (0)