Skip to content

Commit

Permalink
fixed title section
Browse files Browse the repository at this point in the history
  • Loading branch information
Doraku committed Oct 18, 2024
1 parent 241d6a3 commit 275ebdf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/DefaultDocumentation.Markdown/Sections/TitleSection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ public void Write(IWriter writer)
ExplicitInterfaceImplementationDocItem explicitItem when explicitItem.Member is IMethod => w => w.Append($"## {currentItem.GetLongName().SanitizeForMarkdown()} Method"),
ExplicitInterfaceImplementationDocItem explicitItem when explicitItem.Member is IProperty => w => w.Append($"## {currentItem.GetLongName().SanitizeForMarkdown()} Property"),
EnumFieldDocItem enumFiedItem => w => w
.Append($"`{currentItem.Name.SanitizeForMarkdown()}`")
.Append($"`{currentItem.Name}`")
.Append(enumFiedItem.Field.IsConst ? $" {enumFiedItem.Field.GetConstantValue()}" : string.Empty),
ParameterDocItem parameterItem => w => w
.Append($"`{currentItem.Name.SanitizeForMarkdown()}` ")
.Append($"`{currentItem.Name}` ")
.AppendLink(currentItem, parameterItem.Parameter.Type),
TypeParameterDocItem typeParameterItem => w => w.Append($"`{typeParameterItem.TypeParameter.Name.SanitizeForMarkdown()}`"),
TypeParameterDocItem typeParameterItem => w => w.Append($"`{typeParameterItem.TypeParameter.Name}`"),
_ => null
};

Expand Down

0 comments on commit 275ebdf

Please sign in to comment.