Skip to content

Commit 64263a2

Browse files
authored
[doc] Links to framework types (e.g. EventCallback), incorrect target content #982 (ApiRenderer - disable loose type matching) + GettingStarted - fix typo (#992)
1 parent 1b63b72 commit 64263a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Havit.Blazor.Documentation/Pages/GettingStarted/GettingStarted.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ else
381381

382382

383383

384-
<DocHeading Title="5. Register srvices" Id="register-services" Level="3" />
384+
<DocHeading Title="5. Register services" Id="register-services" Level="3" />
385385
@if (HasClientProject())
386386
{
387387
<p>Add the following code to service registrations in both <code>{YourBlazorProject}/Program.cs</code> and <code>{YourBlazorProject}.Client/Program.cs</code> files:</p>

Havit.Blazor.Documentation/Services/ApiRenderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public static string GenerateLinkForInternalType(string typeName, bool checkForI
166166
{
167167
return GenerateLinkTagForInternalType(typeName, typeNameForOwnDocumentation, linkText, generic);
168168
}
169-
else if (ApiTypeHelper.GetType(typeName, true) is not null)
169+
else if (ApiTypeHelper.GetType(typeName, false) is not null)
170170
{
171171
return GenerateLinkTagForInternalType(typeName, typeName, linkText, false);
172172
}

0 commit comments

Comments
 (0)