jupyter-book: Documentation build hangs indefinitely for pdfhtml on master
Describe the bug
In #1283 we re-worked the documentation structure a bit. This seems to have introduced a bug where the singlepage PDF build via HTML now hangs indefinitely.
To Reproduce
Build the book PDF via HTML with
tox -e docs-pdfhtml-update
this should hang indefinitely
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (20 by maintainers)
No the key thing here is that you only need to register a node if they will actually reach the builder. Since tableofcontents nodes are all now replaced/removed in a transform (that is always applied, as opposed to the current post-transform that is not), they can never reach the builder. Hence they are not registered anywhere
@chrisjsewell @choldgraf I heard from Takeshi (on the dev community channel) and we may be able to have a look at adjusting this upstream in
sphinx.This seems to be an issue during the
html->pdfstep usingpyppeteerasthe
sphinxbuild forsinglehtmlseems to be working as well as thehtmlbuilder.However when I run the
builder=pdfhtmlthehtmlthat is used in the_build/htmlfolder doesn’t load due to someerrorso must be an issue in thejavascriptloading. Theleft handindex is missing when I open_build/html/intro.htmlwhen building withpdfhtml@choldgraf does theScrap that it builds into a single filepdfhtmluse thesinglehtmlbuilder but at the page level?