Skip to content

Commit 303cc78

Browse files
authored
infra: turn on warnings as errors for docs builds (#1240)
1 parent b077737 commit 303cc78

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#
33

44
# You can set these variables from the command line.
5-
SPHINXOPTS =
6-
SPHINXBUILD = python -msphinx
5+
SPHINXOPTS = -W
6+
SPHINXBUILD = python -msphinx
77
SPHINXPROJ = sagemaker
88
SOURCEDIR = .
99
BUILDDIR = _build
@@ -17,4 +17,4 @@ help:
1717
# Catch-all target: route all unknown targets to Sphinx using the new
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
20-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

0 commit comments

Comments
 (0)