Repository navigation
Remove Ghostscript dependency, use MathJax for LaTeX formulas - #9740
Conversation
Doxygen already renders LaTeX formulas client-side via MathJax (USE_MATHJAX=YES in Doxyfile.in), so the LaTeX/dvips/Ghostscript formula-rendering pipeline is no longer needed for the HTML docs. - Explicitly enable USE_MATHJAX for the 'doc_dot' target (Doxyfile_dot.in) so it no longer relies on Ghostscript. - Drop the Ghostscript dependency from the Linux/macOS dependency scripts and from the Windows CI conda install. - Remove the Ghostscript install step from the Windows install docs and refresh the now-outdated comments in doc/CMakeLists.txt. Refs #9733 Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01Y5Yqw95d6Sj8k1KD8K7Eaa
|
@timosachsenberg The following names might be missing from the
Please consider applying the following patch: --- AUTHORS 2026-07-14 16:21:01.782215538 +0000
+++ AUTHORS.new 2026-07-14 16:21:07.125343459 +0000
@@ -27,6 +27,7 @@
- Chris Bielow
- Christian Ehrlich
- Christie Mathews
+ - Claude
- Clemens Groepl
- Cornelia Friedle
- Daniel Jameson |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (6)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughDocumentation now enables client-side MathJax rendering for TeX formulas. Ghostscript is removed from Windows, macOS, and Ubuntu documentation dependencies, and Windows installation guidance reflects the reduced requirements. ChangesDocumentation Dependencies
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
, #9740 (#9744) Backfills changelog entries for a SQLite private-dependency change, a ROCCurve::cutoffNeg fix, a pyOpenMS Windows NO_DEPENDENCIES test fix, and the Ghostscript-to-MathJax documentation build change, none of which had CHANGELOG entries yet. Claude-Session: https://claude.ai/code/session_012hWmgLm1tVqhrwzBZsFN1X Co-authored-by: Claude <[email protected]>
Description
This PR removes the Ghostscript dependency from the OpenMS documentation build pipeline. LaTeX formulas in the HTML documentation are now rendered client-side via MathJax instead of being pre-rendered by Ghostscript, eliminating the need for this external dependency.
Changes Made
Removed Ghostscript from dependency installation across all platforms:
.github/actions/dependencies/action.yml(Windows CI)tools/ci/deps-macos.sh(macOS CI)tools/ci/deps-ubuntu.sh(Ubuntu CI)Enabled MathJax rendering in Doxygen configuration:
USE_MATHJAX = YEStodoc/doxygen/Doxyfile_dot.inwith explanatory commentsdoc/CMakeLists.txtto reflect that LaTeX/dvips/ghostscript are no longer neededUpdated documentation:
doc/doxygen/install/install-win.doxygen: Removed Ghostscript installation instructions, updated requirement count from three to two programsUpdated CI comments to explain the rationale for removing Ghostscript (particularly the Windows 2025 image timeout issues)
Rationale
Ghostscript was causing CI failures on Windows (installer hangs on windows-2025 image) and had intermittent download issues on other platforms. By switching to client-side MathJax rendering, we eliminate this problematic dependency while maintaining full LaTeX formula support in the documentation.
Checklist
Note: This is a dependency and configuration change with no impact on unit tests. The documentation build system will be validated through CI.
https://claude.ai/code/session_01Y5Yqw95d6Sj8k1KD8K7Eaa
Summary by CodeRabbit
Documentation
Chores