Skip to content

Commit af66165

Browse files
authored
Ensure tox r -e docs generates the documentation (#3047)
1 parent 19b5f4d commit af66165

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ description = build documentation
6464
extras =
6565
docs
6666
commands =
67-
sphinx-build -d "{envtmpdir}{/}doctree" docs "{toxworkdir}{/}docs_out" --color -b html {posargs:-b linkcheck -W}
67+
{posargs: sphinx-build -d "{envtmpdir}{/}doctree" docs "{toxworkdir}{/}docs_out" --color -b linkcheck}
68+
sphinx-build -d "{envtmpdir}{/}doctree" docs "{toxworkdir}{/}docs_out" --color -b html -W
6869
python -c 'print(r"documentation available under file://{toxworkdir}{/}docs_out{/}index.html")'
6970

7071
[testenv:pkg_meta]

0 commit comments

Comments
 (0)