Flags added to convert doc build warnings to errors

- To ensure that the CI will fail if there are broken links or images.
- Fixes #9778
pull/11521/head
Neeraj P Yetheendran 2024-01-22 12:08:04 +05:30 zatwierdzone przez LB (Ben Johnston)
rodzic 996abeae8e
commit adfd8b32dc
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -9,3 +9,5 @@ python:
path: . path: .
extra_requirements: extra_requirements:
- docs - docs
sphinx:
fail_on_warning: True

Wyświetl plik

@ -2,7 +2,7 @@
# #
# You can set these variables from the command line. # You can set these variables from the command line.
SPHINXOPTS = SPHINXOPTS = -W --keep-going -n
SPHINXBUILD = sphinx-build SPHINXBUILD = sphinx-build
PAPER = PAPER =
BUILDDIR = _build BUILDDIR = _build