Adding --keep-going flag to sphinx-build so all lint failures are listed in CI (#27068)

This PR adds --keep-going flag to the make html target for building the Ray docs. This means that when there is a lint failure in CI, the BuildKite log will show all lint failures instead of just the first one. Despite continuing past the first lint error, it will still fail the build.

Signed-off-by: Cade Daniel <cade@anyscale.com>
This commit is contained in:
Cade Daniel 2022-07-28 16:24:27 -07:00 committed by GitHub
parent 73e1632599
commit 0374637e53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ clean:
rm -rf $(BUILDDIR)/*
html:
$(SPHINXBUILD) -W -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
$(SPHINXBUILD) -W --keep-going -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."