Commit 56f409e6 by alejandro77palacios

Ambiente tox para documentación

parent b14b4a6c
......@@ -24,4 +24,49 @@ install_requires =
[options.packages.find]
where = src
exclude =
test*
\ No newline at end of file
test*
[tox:tox]
isolated_build = True
envlist = py310,py311
[testenv]
deps =
pytest
pytest-cov
commands =
pytest {posargs}
[testenv:docs]
deps =
sphinx
sphinx-autobuild
numpydoc
commands =
sphinx-apidoc \
--force \
--implicit-namespaces \
--module-first \
--separate \
-o docs/reference/ \
src/redsem/ \
src/redsem/*.c \
src/redsem/*.so
sphinx-build -n -W --keep-going -b html docs/ docs/_build/
[testenv:devdocs]
deps =
sphinx
sphinx-autobuild
numpydoc
commands =
sphinx-apidoc \
--force \
--implicit-namespaces \
--module-first \
--separate \
-o docs/reference/ \
src/redsem/ \
src/redsem/*.c \
src/redsem/*.so
sphinx-autobuild -n -W -b html docs/ docs/_build/
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment