Skip to content

Commit

Permalink
tox: add documentation helper environments
Browse files Browse the repository at this point in the history
Adding test environments to help sanity check documentation builds in a
virtual environment.

Signed-off-by: James Knight <[email protected]>
  • Loading branch information
jdknight committed Oct 12, 2024
1 parent ef9cc70 commit b341fc4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ pip_pre = true
[testenv:{,py38-,py39-,py310-,py311-,py312-,py313-}release]
usedevelop = false

[testenv:doc-html]
changedir = doc
commands = {envpython} -m sphinx -M html . _build/html -E -a

[testenv:doc-latexpdf]
changedir = doc
commands = {envpython} -m sphinx -M latexpdf . _build/latexpdf -E -a

[testenv:pylint]
deps =
{[testenv]deps}
Expand Down

0 comments on commit b341fc4

Please sign in to comment.