Resolve errors building documentation PDF#3495
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3495 +/- ##
==========================================
- Coverage 88.64% 88.61% -0.04%
==========================================
Files 881 881
Lines 100873 100873
==========================================
- Hits 89421 89384 -37
- Misses 11452 11489 +37
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
The GHA job to build the RTD PDF is working now. The only failing jobs are the Windows conda jobs (conda infrastructure problem unrelated to this PR). |
|
One note: RTD only supports uploading a single PDF. Right now, this PR separates the generation of the (~370-page) "manual" and (~3500-page) "API reference" PDFs. It is configured to only generate / upload the former on RTD and both everywhere else. It is an open question if we should change this and go back to generating / uploading the single monster PDF to RTD. |
Fixes # .
Summary/Motivation:
The PDF version of the Sphinx documentation broke after the doc reorg; however, RTD wasn't reporting the failure. After a recent update (to RTD and/or Sphinx), RTD is now reporting the PDF failure as a failure.
This PR resolves the LaTeX errors in various math environments throughout the documentation. It also implements a method where the HTML target retains the diataxis tabular format, but uses a linear format for the LaTeX target. In addition, the PDF target is split into two files: the main documentation (~380 pages) and the API reference (~3500 pages).
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution: