issue 9277 basics#9458
Conversation
|
Wow! 577 pages of Documentation! I'm attaching the PDF I just built: Dataverse.pdf @kuhlaid this is great. Thanks! Quick question, do we really have to get rid of the |
|
@pdurbin, with regards to the A problem with download links is they just look bad in the PDF because they serve no function (do not allow downloading a file). So if you look at the I am unable to find any documentation that says LaTeX supports the :download: markdown, but I have seen references stating downloads are not fully supported by all Sphinx builders, and this is one example. Just something to keep in mind. |
|
I should also note that the |
|
Locally, I reverted one of the
Then I ran gave the build commands the root of the repo:
This allowed the PDF to be built. Here's how that
When I put a size estimate of 10 (about a day's effort) on the original PR (#9306) I was thinking about the first three items above. That is, I expect the PDF to be imperfect and to have a note that the HTML version is still canonical. A good "definition of done" for me is having the PDF available, even if it has some issues. Does this make sense? I'm happy to talk this out over chat or zoom. Thanks! ❤️ |
|
On my machine, the absolute minimum I need to get the PDF to build (using the Dockerfile provided by @kuhlaid, thank you!! ❤️ ) is to remove the deep nesting in admin/timers.rst (added in PR #7152) like this: ccdc37b Thank you for identifying that the nesting is only in this file, @kuhlaid! I find the output confusing when it fails. I definitely want a check, probably a GitHub Action, to make sure this deep nesting doesn't happen again (as it has again and again over the years). I'll probably seek advice from @poikilotherm or @donsizemore or @GPortas who know a lot more about GitHub actions than I do. For completeness, in addition to the change to admin/timers.rst above, I created the following files (copied directly from this PR, thanks again @kuhlaid ): Then I ran these commands: I guess I'll go ahead and upload the PDF that came out. Why not. 587 pages!! Dataverse.pdf |
|
I'm playing around with this...
... but I'm getting a strange error: Here's the complete output: make-pdf-fail.txt |
|
Duh. A |
|
Yeah, I had to remove those non-ASCII characters. The PDF build is a pain to work unless some of these other things other than just nesting are taken care of due to the laundry list of errors that need to be addressed. |
|
@kuhlaid hi! I'm closing this pull request in favor of this one: I realize my fix is much less ambitious than yours but in practice we've found that smaller chunks of work move more easily through the system. I hope you continue to engage and help us improve the PDF! As I mentioned In that PR, we are now building it regularly (every time a PR is merged) at http://preview.guides.gdcc.io/_/downloads/en/develop/pdf/ I'm going to repeat this comment on your other open related PRs. Sorry! 😅 |

What this PR does / why we need it:
This PR is an update to the documentation for a basic fix to #9277 to get the PDF to build. The
HowToSphinxDockerBuild.mdhas instructions for the build using Docker.Closes #9277
Special notes for your reviewer:
The following updates were performed due to the files throwing errors on the PDF builds.
\doc\sphinx-guides\source\admin\metadatacustomization.rst
\doc\sphinx-guides\source\api\native-api.rst
\doc\sphinx-guides\source\developers\big-data-support.rst
\doc\sphinx-guides\source\developers\dev-environment.rst
\doc\sphinx-guides\source\developers\make-data-count.rst
\doc\sphinx-guides\source\developers\testing.rst
\doc\sphinx-guides\source\developers\troubleshooting.rst
\doc\sphinx-guides\source\installation\advanced.rst
\doc\sphinx-guides\source\installation\config.rst
\doc\sphinx-guides\source\installation\installation-main.rst
\doc\sphinx-guides\source\installation\prerequisites.rst
\doc\sphinx-guides\source\admin\timers.rst
\doc\sphinx-guides\source\developers\workflows.rst
\doc\sphinx-guides\source\container\base-image.rst
:widths: autofor csv-table but the description would not wrap the description