mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
doc/Makefile: use sphinx-build -W by default
Use -W with sphinx-build by default to turn warnings into errors. Signed-off-by: François Cami <fcami@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
51d15176a4
commit
7558e1413d
@ -3,7 +3,7 @@
|
||||
|
||||
# You can set these variables from the command line, and also
|
||||
# from the environment for the first two.
|
||||
SPHINXOPTS ?=
|
||||
SPHINXOPTS ?= -W
|
||||
SPHINXBUILD ?= sphinx-build
|
||||
SOURCEDIR = .
|
||||
BUILDDIR = _build
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
||||
echo "Running make target 'lint'"
|
||||
make V=0 lint
|
||||
echo "Building documentation"
|
||||
make -C doc/ html SPHINXOPTS="-W"
|
||||
make -C doc/ html
|
||||
displayName: Lint sources and documentation
|
||||
- template: templates/save-test-artifacts.yml
|
||||
parameters:
|
||||
|
Loading…
Reference in New Issue
Block a user