Makefile: docs: treat Sphinx warnings as errors

This commit is contained in:
Christian Schwarz 2020-09-05 16:41:22 +02:00
parent e0be7e4d4f
commit 88d21eb23a

View File

@ -321,9 +321,11 @@ $(ARTIFACTDIR)/go_env.txt:
$(GO_ENV_VARS) $(GO) env > $@
docs: $(ARTIFACTDIR)/docs
# https://www.sphinx-doc.org/en/master/man/sphinx-build.html
make -C docs \
html \
BUILDDIR=../artifacts/docs \
SPHINXOPTS="-W --keep-going -n"
docs-clean:
make -C docs \