Skip to content

Commit

Permalink
[doc] Links to framework types (e.g. EventCallback), incorrect target…
Browse files Browse the repository at this point in the history
… content #982 (ApiRenderer - disable loose type matching) + GettingStarted - fix typo (#992)
  • Loading branch information
Harvey1214 authored Jan 23, 2025
1 parent 1b63b72 commit 64263a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ else



<DocHeading Title="5. Register srvices" Id="register-services" Level="3" />
<DocHeading Title="5. Register services" Id="register-services" Level="3" />
@if (HasClientProject())
{
<p>Add the following code to service registrations in both <code>{YourBlazorProject}/Program.cs</code> and <code>{YourBlazorProject}.Client/Program.cs</code> files:</p>
Expand Down
2 changes: 1 addition & 1 deletion Havit.Blazor.Documentation/Services/ApiRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public static string GenerateLinkForInternalType(string typeName, bool checkForI
{
return GenerateLinkTagForInternalType(typeName, typeNameForOwnDocumentation, linkText, generic);
}
else if (ApiTypeHelper.GetType(typeName, true) is not null)
else if (ApiTypeHelper.GetType(typeName, false) is not null)
{
return GenerateLinkTagForInternalType(typeName, typeName, linkText, false);
}
Expand Down

0 comments on commit 64263a2

Please sign in to comment.