From b9e0f08560c85dbc8653600d14353a8d65e99b37 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Sat, 22 Feb 2020 23:17:27 -0500 Subject: [PATCH] Add flag to doc building to force failure on warning --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 521f07b..7ed8e38 100644 --- a/tox.ini +++ b/tox.ini @@ -44,5 +44,5 @@ whitelist_externals = commands = sphinx-apidoc -o "./docs/" "keyosk" rm "docs/modules.rst" - sphinx-build -M html "./docs/" "./docs/_build" - sphinx-build -M latex "./docs/" "./docs/_build" + sphinx-build -M html "./docs/" "./docs/_build" -W + sphinx-build -M latex "./docs/" "./docs/_build" -W