From 6eb26a35277229db0632fd15fce723bbb36ac138 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 a50d81fb..98aaf201 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -439,6 +439,8 @@ commands = --show-traceback \ docs/ docs/_build/html description = Build documentation and API through Sphinx +setenv = + PYTHONWARNINGS = [testenv:doclive] allowlist_externals = @@ -486,6 +488,7 @@ setenv = [testenv:linkcheck] allowlist_externals = sphinx-build +base = doc commands = sphinx-build \ --builder=linkcheck \