using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace jp.lilxyzw.avatarutils { internal static partial class DocsGeneratorMenu { private static void BuildDocsIndex(string root, string code, Func loc) { var sb = new StringBuilder(); sb.AppendLine($"# {loc("Documents")}"); sb.AppendLine(); sb.AppendLine(loc("This is the documentation page for lilAvatarUtils.")); sb.AppendLine(); sb.AppendLine($"
"); sb.AppendLine($" "); sb.AppendLine($"
"); WriteText($"{root}/docs/index.md", sb.ToString()); } } }