From 9658c26c4e8bf2b81ee8421428632f3f0e4578fd Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Mon, 31 Jul 2023 14:14:48 -0700 Subject: [PATCH] Change Makefile to treat warnings as errors and use in CI. --- ci/build_docs.sh | 4 ++-- python/docs/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/build_docs.sh b/ci/build_docs.sh index 956a7389d..dbd33de51 100755 --- a/ci/build_docs.sh +++ b/ci/build_docs.sh @@ -37,8 +37,8 @@ popd rapids-logger "Build Python docs" pushd python/docs -sphinx-build -b dirhtml . _html -sphinx-build -b text . _text +make dirhtml BUILDDIR=_html +make text BUILDDIR=_text mkdir -p "${RAPIDS_DOCS_DIR}/rmm/"{html,txt} mv _html/* "${RAPIDS_DOCS_DIR}/rmm/html" mv _text/* "${RAPIDS_DOCS_DIR}/rmm/txt" diff --git a/python/docs/Makefile b/python/docs/Makefile index d4bb2cbb9..72d1dcd85 100644 --- a/python/docs/Makefile +++ b/python/docs/Makefile @@ -3,7 +3,7 @@ # You can set these variables from the command line, and also # from the environment for the first two. -SPHINXOPTS ?= +SPHINXOPTS = -n -v -W --keep-going SPHINXBUILD ?= sphinx-build SOURCEDIR = . BUILDDIR = _build