Skip to content

Commit

Permalink
Ensure tox r -e docs generates the documentation (#3047)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbernat committed Jun 20, 2023
1 parent 19b5f4d commit af66165
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ description = build documentation
extras =
docs
commands =
sphinx-build -d "{envtmpdir}{/}doctree" docs "{toxworkdir}{/}docs_out" --color -b html {posargs:-b linkcheck -W}
{posargs: sphinx-build -d "{envtmpdir}{/}doctree" docs "{toxworkdir}{/}docs_out" --color -b linkcheck}
sphinx-build -d "{envtmpdir}{/}doctree" docs "{toxworkdir}{/}docs_out" --color -b html -W
python -c 'print(r"documentation available under file://{toxworkdir}{/}docs_out{/}index.html")'

[testenv:pkg_meta]
Expand Down

0 comments on commit af66165

Please sign in to comment.