Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 879978e

Browse files
committed
Use -W in Sphinx make the build fail if there is a warning
1 parent 4ca1835 commit 879978e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ help:
4040
# treated as errors, which is good to skip simple Sphinx syntax mistakes.
4141
.PHONY: build
4242
build: setup
43-
sphinx-build -j auto -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML)
43+
sphinx-build -j auto -W -b html -d $(OUTPUT_DOCTREE) -D language=$(LANGUAGE) . $(OUTPUT_HTML)
4444
@echo "Success! Open file://`pwd`/$(OUTPUT_HTML)/index.html, " \
4545
"or run 'make serve' to see them in http://localhost:8000";
4646

0 commit comments

Comments
 (0)