Skip to content

Commit

Permalink
Merge 54376c9 into 9120453
Browse files Browse the repository at this point in the history
  • Loading branch information
yufeih authored Dec 18, 2023
2 parents 9120453 + 54376c9 commit d803445
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Docfx.App/PdfBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ IResult TocPage(string url)

await page.AddScriptTagAsync(new() { Content = EnsureHeadingAnchorScript });
await page.WaitForFunctionAsync("!window.docfx || window.docfx.ready");
await page.WaitForLoadStateAsync(LoadState.NetworkIdle);

return await page.PdfAsync();
}
Expand Down

0 comments on commit d803445

Please sign in to comment.