From 3e6e78012d596d6e8154eefd4bd4cc95efd58339 Mon Sep 17 00:00:00 2001 From: Catherine Date: Thu, 14 Mar 2024 02:42:27 +0000 Subject: [PATCH] CI: fail `document` job on warnings. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 972336c..baf35f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ test-code.env = {PYTHONWARNINGS = "error"} test-code.cmd = "python -m coverage run -m unittest discover -t . -s tests -v" test-docs.cmd = "sphinx-build -b doctest docs/ docs/_build" -document.cmd = "sphinx-build docs/ docs/_build/" +document.cmd = "sphinx-build docs/ docs/_build/ -W --keep-going" document-live.cmd = "sphinx-autobuild docs/ docs/_build/ --watch amaranth" document-linkcheck.cmd = "sphinx-build docs/ docs/_linkcheck/ -b linkcheck"