Skip to content

Should CI Build Docs on Windows? #9733

Closed

Description

@pjones

We currently install Doxygen and Ghostscript on the GitHub Windows runners and build the documentation. I think we only want to build the docs on one of our faster runners like Linux.

Are there any objections to removing those dependencies on Windows and disabling docs? This would only impact the builds on CI.

Activity

  1. pjones commented on Jul 13, 2026

    @pjones
    ContributorAuthor

    @cbielow Thoughts?

  2. cbielow commented on Jul 14, 2026

    @cbielow
    Contributor

    Disabling docs on windows will decrease platform coverage.
    the doc target builds executables, such as DefaultParamHandlerDocumenter and has some other quirks which I'd like to see tested.
    If that is not tested regularly, we will see regressions and that's always no fun for the developer who runs on that platform -- see #9732 for the most recent case.

  3. cbielow commented on Jul 14, 2026

    @cbielow
    Contributor

    shaving off build time and test time might be a better lever to get through CI faster?

  4. pjones commented on Jul 14, 2026

    @pjones
    ContributorAuthor

    Okay, that's good to know.

    I do have plans to try using pre-compiled headers on Windows to speed up the build times. But right now what I'm actually trying to deal with is our dependency on Ghostscript.

    As far as I know we need Ghostscript to render formulas in Doxygen. Is that correct?

    Thanks!

  5. jpfeuffer commented on Jul 14, 2026

    @jpfeuffer
    Contributor

    We should try Mathjax client side JS rendering if you struggle with ghostscript.

  6. cbielow commented on Jul 14, 2026

    @cbielow
    Contributor

    we already use Mathjax (see doc/doxygen/Doxyfile.in)
    Just need to switch it on for doc_dot as well (https://github.com/OpenMS/OpenMS/blob/develop/doc/doxygen/Doxyfile_dot.in).
    We can get rid of Ghostscript IMHO.

  7. cbielow commented on Jul 14, 2026

    @cbielow
    Contributor

    I think it was required when we build a PDF version of the Docs... but for HTML it's not needed anymore.

  8. timosachsenberg commented on Aug 12, 2026

    @timosachsenberg
    Contributor

    is this resolved?

  9. pjones commented on Aug 12, 2026

    @pjones
    ContributorAuthor

    Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions