Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Brynes committed Feb 8, 2019
1 parent 5da8ba3 commit 5ddc01c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/Docgen/Generators/TypeGenerator.cs
Expand Up @@ -140,7 +140,7 @@ private string FormatMember(FunctionDetails func)
: "";

var content = $@"
{func.Declaration}
{func.Declaration}</p>
{func.OneLineSummary}
{returnDescription}
{HtmlFormatting.FormatSection(HtmlFormatting.TitleStyle.Bold, "Parameters", HtmlFormatting.ToHtmlList(func.Args.Select(arg => $"<code>{arg.Type} {arg.Name}</code> : {arg.Description}")))}
Expand Down
2 changes: 1 addition & 1 deletion tools/Docgen/Model/Xml/Extensions/XmlExtensions.cs
Expand Up @@ -124,7 +124,7 @@ public static bool IsConst(this MemberDefType member, DoxygenDatabase database)
public static string GetLocationLink(this Location location, bool isMember)
{
// TODO: Replace with Improbadoc variable
const string Release = "0.1.3";
const string Release = "0.1.4";
// There is an off by one error in the lines only if the line is referencing a type.
var adjustedLine = location.Line - (isMember ? 0 : 1);
return
Expand Down
2 changes: 1 addition & 1 deletion tools/Docgen/Utils/HtmlFormatting.cs
Expand Up @@ -178,7 +178,7 @@ public static string GetTocFromData<T>(List<(string, T)> data, Func<T, bool> sho
{
if (shouldRender(element))
{
sb.AppendLine(GetTocLink(title));
sb.AppendLine($"<li>{GetTocLink(title)}");
}
}

Expand Down

0 comments on commit 5ddc01c

Please sign in to comment.