Skip to content

Commit

Permalink
Re haskell#7469: sphinx-build with flag -W -E --keep-going
Browse files Browse the repository at this point in the history
Strict regime: turn warnings to errors (-W), rebuild from scratch (-E).
  • Loading branch information
andreasabel committed Aug 31, 2021
1 parent 2720a89 commit d690d9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ bootstrap-jsons-linux: phony
# TODO: when we have sphinx-build2 ?
SPHINXCMD:=sphinx-build
# Flag -n ("nitpick") warns about broken references
SPHINX_FLAGS:=-n
# Flag -W turns warnings into errors
# Flag --keep-going continues after errors
SPHINX_FLAGS:=-n -W --keep-going -E
SPHINX_HTML_OUTDIR:=dist-newstyle/doc/users-guide
USERGUIDE_STAMP:=$(SPHINX_HTML_OUTDIR)/index.html

Expand Down

0 comments on commit d690d9b

Please sign in to comment.