GithubHelp home page GithubHelp logo

Comments (2)

filzrev avatar filzrev commented on June 23, 2024

without any styles/template.

When template is not specified. default template is used as fallback value.

It seems same problems that are reported at (#9653)


I can also reproduce problem on my environment (Windows 11)
with following steps.

  1. Edit docfx official docs docfx.json to use default template only
  2. Run docfx build command
  3. Run docfx pdf command
  4. Following warnings displayed. and PDF content is corrupted.

warning: Timeout waiting for page to load, generated PDF page may be incomplete: http://127.0.0.1:59028/docfx-cli-reference/docfx.html
warning: Timeout waiting for page to load, generated PDF page may be incomplete: http://127.0.0.1:59028/docfx-cli-reference/docfx.html

And it can't be resolved with DOCFX_PDF_TIMEOUT settings.

It seems there is problem in docfx-cli-reference/docfx.md content.
And it can also reproduce problems with following minimum markdown/yml file.

sample.md

# docfx

toc.yml

- name: Sample
  href: sample.md

from docfx.

filzrev avatar filzrev commented on June 23, 2024

For docfx heading element problems.
It seems be occurred by following logics.
https://github.com/dotnet/docfx/blob/b7285fcdfb04e6f4132d702217588de6236bfa4c/src/Docfx.App/PdfBuilder.cs#L161C1-L161C92

It's not completed if docfx ID element exists (and docfx.ready variable is not set when using default template)


For wrong PDF content generated problem.
It seems currently not supported usage. (As discussed at #9393)
And Create PDF Files document have following note exists.

This article applies to docfx 2.73.0 or greater and the modern site template.

from docfx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.