From 58726160a9a2d62839d026692022b46a3c587c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Thu, 8 Oct 2020 23:42:58 +0200 Subject: [PATCH] Reduce the indention level to show the table of contents. --- .../UtilityCommands/ExtractLuaDocsCommand.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenRA.Mods.Common/UtilityCommands/ExtractLuaDocsCommand.cs b/OpenRA.Mods.Common/UtilityCommands/ExtractLuaDocsCommand.cs index 4aedfbe7ba..84278faa70 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ExtractLuaDocsCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ExtractLuaDocsCommand.cs @@ -62,14 +62,14 @@ namespace OpenRA.Mods.Common.UtilityCommands var tables = utility.ModData.ObjectCreator.GetTypesImplementing() .OrderBy(t => t.Name); - Console.WriteLine("### Global Tables"); + Console.WriteLine("## Global Tables"); foreach (var t in tables) { var name = t.GetCustomAttributes(true).First().Name; var members = ScriptMemberWrapper.WrappableMembers(t); - Console.WriteLine("#### " + name); + Console.WriteLine("### " + name); Console.WriteLine(""); foreach (var m in members.OrderBy(m => m.Name)) { @@ -93,7 +93,7 @@ namespace OpenRA.Mods.Common.UtilityCommands foreach (var kv in actorCategories) { - Console.WriteLine("#### " + kv.Key); + Console.WriteLine("### " + kv.Key); Console.WriteLine("
"); foreach (var property in kv.OrderBy(p => p.Item2.Name)) @@ -126,7 +126,7 @@ namespace OpenRA.Mods.Common.UtilityCommands Console.WriteLine("
"); } - Console.WriteLine("### Player Properties / Commands"); + Console.WriteLine("## Player Properties / Commands"); var playerCategories = utility.ModData.ObjectCreator.GetTypesImplementing().SelectMany(cg => {