Fix indentions of weapon documentation table of contents.
This commit is contained in:
committed by
Paul Chote
parent
3cf9d47b39
commit
3c0b95cf6e
@@ -66,7 +66,7 @@ namespace OpenRA.Mods.Common.UtilityCommands
|
|||||||
}
|
}
|
||||||
|
|
||||||
var traitName = t.Name.EndsWith("Info") ? t.Name.Substring(0, t.Name.Length - 4) : t.Name;
|
var traitName = t.Name.EndsWith("Info") ? t.Name.Substring(0, t.Name.Length - 4) : t.Name;
|
||||||
toc.AppendLine(" * [{0}](#{1})".F(traitName, traitName.ToLowerInvariant()));
|
toc.AppendLine(" * [{0}](#{1})".F(traitName, traitName.ToLowerInvariant()));
|
||||||
doc.AppendLine();
|
doc.AppendLine();
|
||||||
doc.AppendLine("### {0}".F(traitName));
|
doc.AppendLine("### {0}".F(traitName));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user