Skip to content

Commit

Permalink
doc: tox: clean html dir before build
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Remmert <jremmert@gmx.net>
  • Loading branch information
jonas-rem authored and Kappuccino111 committed Sep 12, 2024
1 parent e38dbc0 commit 090c5fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ deps =
-r ../server/django/requirements.txt

[testenv:py3-html]
allowlist_externals =
/bin/sh
commands =
/bin/sh -c 'rm -rf build/html/*'
python ../server/django/manage.py graph_models sensordata -o source/images/erd.svg
python ../server/django/manage.py generate_openapi -o build/generated/openapi-schema.yaml
sphinx-build -E -W --keep-going -b html source build/html
Expand Down

0 comments on commit 090c5fc

Please sign in to comment.