Skip to content

Commit b63a293

Browse files
committed
Cleanup
1 parent b782fc5 commit b63a293

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Elastic.Markdown/Exporters/LlmMarkdownExporter.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,11 @@
44

55
using System.IO.Abstractions;
66
using System.IO.Compression;
7-
using System.Reflection;
8-
using System.Runtime.CompilerServices;
97
using System.Text;
108
using Elastic.Documentation.Configuration;
119
using Elastic.Documentation.Configuration.Builder;
1210
using Elastic.Markdown.Helpers;
13-
using Elastic.Markdown.Myst;
14-
using Elastic.Markdown.Myst.FrontMatter;
1511
using Markdig.Syntax;
16-
using YamlDotNet.Serialization;
1712

1813
namespace Elastic.Markdown.Exporters;
1914

@@ -137,12 +132,10 @@ private string CreateLlmContentWithMetadata(MarkdownExportFileContext context, s
137132
_ = metadata.AppendLine($" - {product}");
138133
}
139134

140-
// Add raw ApplicableTo from YAML front matter
141135
if (sourceFile.YamlFrontMatter?.AppliesTo is not null)
142136
{
143137
_ = metadata.AppendLine("applies_to:");
144138
var yamlContent = sourceFile.YamlFrontMatter.AppliesTo.ToString();
145-
// Indent each line of the YAML content
146139
var indentedLines = yamlContent.Split(Environment.NewLine)
147140
.Select(line => $" {line}")
148141
.Where(line => !string.IsNullOrWhiteSpace(line));

0 commit comments

Comments
 (0)