Skip to content

release-gap-package: enhance the check whether building the documentation works #106

@ThomasBreuer

Description

@ThomasBreuer

If the package in question provides a file makedoc.g then release-gap-package decides about success or failure, based on the printed output of GAPDoc functions; currently only warnings about "non resolved references" are taken into account.

We could do the same as what is proposed in gap-system/gap/pull/5835:
If there are #W messages except the ones about overfull boxes then report failure.

In addition to that, we can regard a nonzero exit code after processing makedoc.g as failure, no matter why this exit code was set.
(The currently available makedoc.g files do not set an exit code, but it would make sense to change the function AutoDoc to set a nonzero exit code if the function thinks that something went wrong. This way, several makedoc.g files would set an exit code without changing their contents.)

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