From 88d21eb23a1ccac8f633efdd80f847a928592ab7 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Sat, 5 Sep 2020 16:41:22 +0200 Subject: [PATCH] Makefile: docs: treat Sphinx warnings as errors --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 011b9ff..724c3b9 100644 --- a/Makefile +++ b/Makefile @@ -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 \