Skip to content

Commit ac608c3

Browse files
authored
Fix double full parse of content when emitting all docs (#77)
1 parent bfae0fe commit ac608c3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

docs/source/nested/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
title: Nested content
33
---
44

5-
This bucket is an example of nested content. Head down the tree to see how it works.
5+
This bucket is an example of nested content. Head down the tree to see how it works.

src/Elastic.Markdown/DocumentationGenerator.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,7 @@ await Parallel.ForEachAsync(DocumentationSet.Files, ctx, async (file, token) =>
109109
var item = Interlocked.Increment(ref handledItems);
110110
var outputFile = OutputFile(file.RelativePath);
111111
if (file is MarkdownFile markdown)
112-
{
113-
await markdown.ParseFullAsync(token);
114112
await HtmlWriter.WriteAsync(outputFile, markdown, token);
115-
}
116113
else
117114
{
118115
if (outputFile.Directory is { Exists: false })

0 commit comments

Comments
 (0)