Fix tox's "docs" environment // Resolve #4624

This commit is contained in:
Ivan Kravets
2023-05-16 17:59:47 +03:00
parent 89ffd82275
commit 71afa639e2

View File

@@ -58,12 +58,13 @@ deps =
sphinx-notfound-page sphinx-notfound-page
sphinx-copybutton sphinx-copybutton
restructuredtext-lint restructuredtext-lint
change_dir = docs
commands = commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html sphinx-build . _build
[testenv:docslinkcheck] [testenv:docslinkcheck]
deps = deps =
sphinx {[testenv:docs]deps}
sphinx-rtd-theme change_dir = docs
commands = commands =
sphinx-build -W -b linkcheck docs docs/_build/html sphinx-build -b linkcheck . _build