Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Commit

Permalink
fix sphinx build with poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Coder committed Apr 10, 2020
1 parent 19b058f commit 6166169
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ envlist = py36, py37, py38, pypy

[testenv:docs]
description = invoke sphinx-build to build the HTML docs
basepython = python3.7
deps = sphinx >= 1.7.5, < 2
commands = sphinx-build -d "{toxworkdir}/docs_doctree" doc "{toxworkdir}/docs_out" --color -W -bhtml {posargs}
commands =
poetry install -v
sphinx-build -d "{toxworkdir}/docs_doctree" doc "{toxworkdir}/docs_out" --color -bhtml {posargs}
python -c 'import pathlib; print("documentation available under file://\{0\}".format(pathlib.Path(r"{toxworkdir}") / "docs_out" / "index.html"))'

[testenv]
Expand Down

0 comments on commit 6166169

Please sign in to comment.