From 71afa639e2eb4ed4368ab0ec0cd3a2d790e4a297 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Tue, 16 May 2023 17:59:47 +0300 Subject: [PATCH] Fix tox's "docs" environment // Resolve #4624 --- tox.ini | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index 60832806..1db3d5c6 100644 --- a/tox.ini +++ b/tox.ini @@ -58,12 +58,13 @@ deps = sphinx-notfound-page sphinx-copybutton restructuredtext-lint +change_dir = docs commands = - sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html + sphinx-build . _build [testenv:docslinkcheck] deps = - sphinx - sphinx-rtd-theme + {[testenv:docs]deps} +change_dir = docs commands = - sphinx-build -W -b linkcheck docs docs/_build/html + sphinx-build -b linkcheck . _build