infra-manual/tox.ini
Monty Taylor 0525e713a2
Fix yaml snippet for sphinx for python3
Something about this yaml snippet was causing:

  Could not lex literal_block as "yaml". Highlighting skipped.

but only when run under python3. I'm guessing something related to
utf-8, although it's not immediately apparent for me locally. I
basically re-typed the name 'tooz-tox-py35-etcd3' and it started
working. Go figure.

Change-Id: Idded1004ffaebe51010fa52dad696f19f721d526
2018-01-08 08:59:20 -06:00

17 lines
340 B
INI

[tox]
minversion = 1.6
envlist = docs
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
commands = sphinx-build -W -d doc/build/doctrees -b html doc/source/ doc/build/html