From c6cc8695c9034becb39ec277727ac011475b8521 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:33:53 +0200 Subject: [PATCH] DX: disable Sphinx warnings in `linkcheck` job --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 1fb2e596..f7259cc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -549,6 +549,8 @@ commands = --show-traceback \ docs/ docs/_build/html description = Build documentation and API through Sphinx +setenv = + PYTHONWARNINGS = [testenv:doclive] allowlist_externals = @@ -596,6 +598,7 @@ setenv = [testenv:linkcheck] allowlist_externals = sphinx-build +base = doc commands = sphinx-build \ --builder=linkcheck \