-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: Building PDF version of docs results in error #3134
Comments
Here's more of the error as of a build from c81b7cf
The last successful build was from 11ad621 and ended with this:
So I guess something bad happened between 11ad621 (which shipped as part of 4.3.1) and c81b7cf (which is in the 2469-widgets branch). The 2469-widgets branch is pull request #3118 and the only change to the Sphinx source files so far was 873e341 so I'm guessing the problem was introduced there but I don't really know. As a workaround @kcondon and I decided to stop trying to build the PDF version since we don't even link to them yet per #2148. @scolapasta I'm passing this to you for review. |
Reverted the doc change from he widgets branch and it now works. (we still need to work on the doc for widgets in general, so we'll make sure this continues to work when that is complete. |
Created a new issue to track the work needed for the widget documentation. #3147 |
The error still happens with the most recent build. Passing back. |
@pdurbin can you take a look with @mheppler and @eaquigley who have made doc changes and figure out what is causing this to break? Thanks. |
@eaquigley is taking a look so I'll assign this to her. Something about nesting. |
There are also numerous latex build warnings leading up to the Too Deeply Nested error and most of those have to do with the Installation guide, shibboleth section but others too: LaTeX Warning: Hyper reference `installation/shibboleth:shibboleth2-xml' on pag LaTeX Warning: Hyper reference `installation/shibboleth:specific-identity-provi ! LaTeX Error: Too deeply nested. |
Huh. If nesting in the Shib docs are a problem I do plan to revisit those docs as part of #2937. The real problem here is that developers don't know how to create the PDF version of the guides on their laptops. I just tried this on my MacBook and wasn't able to figure out out quickly. If we ever make PDF versions of the guides a first class citizen (#2148) it will be considered a regression if a developer breaks the PDF. Developers will need to test locally before committing changes. |
…g PDF creation of the guides. [ref #3134]
Fixed nesting format issue in Shibboleth > Installation Guide breaking PDF creation of the guides. Also fixed other formatting, broken section link ref's and download file ref warnings.
HTML, and latex/PDF should now all build with no warnings. But, epub still has a few minor warnings, but they do not break the build. Code can be found in branch 3134-docs-build-errors. Which will be merged into the branch 3338-oauth-login. |
Conflicts: doc/sphinx-guides/source/installation/shibboleth.rst I changed the heading for the shib page in 3338-oauth-login. Fixed.
The fixes by @mheppler looked good. I only had to make one small change at 843e612. In order to run I just merged the 3134-docs-build-errors branch into into 3338-oauth-login so I'm going to delete the former. The latter should be used for QA and I'm moving this card there in https://waffle.io/IQSS/dataverse |
Works, closing. |
l.3553 \begin{itemize}
@pdurbin I think you said you were familiar with this problem? Can you help?
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on Dataverse.log.
make[1]: *** [Dataverse.pdf] Error 1
make[1]: Leaving directory `/var/lib/jenkins/workspace/guides.dataverse.org-rfi/doc/sphinx-guides/build/latex'
make: *** [latexpdf] Error 2
Build step 'Execute shell' marked build as failure
Finished: FAILURE
The text was updated successfully, but these errors were encountered: