Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eleftherioszisis committed Apr 5, 2024
1 parent 556d848 commit dbe6ae8
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,21 @@ commands =
black .

[testenv:docs]
changedir = doc
extras = docs
commands =
# remove autosummary output
rm -rf {toxinidir}/doc/source/_neurom_build
make clean
make html SPHINXOPTS=-W
# remove autosummary output and cleanup
rm -rf {toxinidir}/doc/source/_neurom_build {toxinidir}/doc/build/*
sphinx-build -b doctest \
{toxinidir}/doc/source \
{toxworkdir}/doc/build/doctest \
-d {toxinidir}/doc/build/doctrees \
-W
sphinx-build -b html \
{toxinidir}/doc/source \
{toxinidir}/doc/build/html \
-d {toxinidir}/doc/build/doctrees \
-W
allowlist_externals =
make
rm

[testenv:tutorial]
Expand Down

0 comments on commit dbe6ae8

Please sign in to comment.