Skip to content

Commit ea76974

Browse files
committed
Fix merge commit compilation issue
1 parent 8c5e312 commit ea76974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tooling/Elastic.Documentation.Tooling/Exporters/ElasticsearchMarkdownExporter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ public async ValueTask<bool> ExportAsync(MarkdownExportFileContext fileContext,
248248
IPositionalNavigation navigation = fileContext.DocumentationSet;
249249

250250
//use LLM text if it was already provided (because we run with both llm and elasticsearch output)
251-
var body = fileContext.LLMText ??= LlmMarkdownExporter.ConvertToLlmMarkdown(document, fileContext.BuildContext);
251+
var body = fileContext.LLMText ??= LlmMarkdownExporter.ConvertToLlmMarkdown(fileContext.Document, fileContext.BuildContext);
252252

253253
var headings = fileContext.Document.Descendants<HeadingBlock>()
254-
.Select(h => (h.GetData("header") as string) ?? string.Empty)
254+
.Select(h => h.GetData("header") as string ?? string.Empty)
255255
.Where(text => !string.IsNullOrEmpty(text))
256256
.ToArray();
257257

0 commit comments

Comments
 (0)