Skip to content

Commit

Permalink
Define docs dependencies in docs/requirements.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
mila committed Jun 11, 2020
1 parent 142f185 commit be83dbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx
matplotlib
pandas
6 changes: 1 addition & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,11 @@ skip_install = true
deps = flake8
commands = flake8


[testenv:docs]
basepython = python3.7
usedevelop = true
changedir = docs
deps =
sphinx
matplotlib
pandas
deps = -r docs/requirements.txt
commands =
sphinx-build -W -b doctest -d {envtmpdir}/doctrees . {envtmpdir}/doctest
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

0 comments on commit be83dbc

Please sign in to comment.