Skip to content

Commit

Permalink
wip: sphinx-autobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaqq committed Aug 26, 2024
1 parent 3677507 commit fc5eb88
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ commands_pre =
commands =
sphinx-build -W --keep-going docs/ docs/_build/html

[testenv:docs-live]
description = Live development: build the Sphinx docs with autoreloading enabled
deps = {[testenv:docs]deps}
commands_pre =
{[testenv:docs]commands_pre}
change_dir = {tox_root}/docs
commands =
sphinx-autobuild ./ ./_build/html --watch . --port 8000

[testenv:fmt]
description = Apply coding style standards to code
deps =
Expand Down

0 comments on commit fc5eb88

Please sign in to comment.