Skip to content

Commit

Permalink
change command to build the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
selmanozleyen committed Mar 4, 2024
1 parent b5320f3 commit cfb500d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
- name: Test examples
run: |
tox -e examples-docs
tox -e build-docs
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -293,15 +293,14 @@ commands =
# TODO(michalk8): uncomment after https://github.com/theislab/moscot/issues/490
# make spelling {posargs}
[testenv:examples-docs]
description = Test examples in docs.
[testenv:build-docs]
description = Build the docs and run the notebooks.
use_develop = true
deps =
extras = docs
allowlist_externals = jupytext
changedir = {tox_root}{/}docs
commands =
jupytext --execute ./notebooks/examples/problems/500_passing_marginals.ipynb
sphinx-build -b html . _build/html -D nb_execution_mode=force
[testenv:clean-docs]
description = Remove the documentation.
Expand Down

0 comments on commit cfb500d

Please sign in to comment.