Skip to content

Commit 2da645f

Browse files
committed
Fix double full parse of content when emitting all docs
1 parent bfae0fe commit 2da645f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

docs/source/nested/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@ title: Nested content
33
---
44

55
This bucket is an example of nested content. Head down the tree to see how it works.
6+
7+
Hello [](content/nest-cafe2.md)
8+
9+
10+
```{hint}
11+
asdjasd
12+
13+
```

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)