pandocs
pandocs copied to clipboard
the 'linkcheck' preprocessor should not block the build
It often happens that PRs and commits are blocked from being built and pushed because unrelated (in other parts of the document) links now appear to be broken
Well, they fail to build, but that doesn't prevent them from being pushed, does it?
@ISSOtm it blocks the build so nothing new gets published when a git commit gets pushed
Ah, fair.
Solution: split CI into two jobs, one running mdBook without linkcheck and publishing the results; the other running linkcheck.
This will still cause a CI failure, and thus raise red flags (or a red :x:, I guess), but not prevent deployment.
This can be achieved by using environment variables to override the output config, and disable some renderers, I believe.
Okay I agree with what you proposed