ha-guide/tox.ini
Andreas Jaeger 60ab492106 Small cleanups
the repo is building using Python 3, so remove some cruft:
* Remove python 2 requirements
* Remove python2 stanza from setup.py
* Remove obsolete sections from setup.cfg
* Remove unused variables from tox.ini

Change-Id: Ia56048d901f2fa0099341f349b02c7ac76a40b82
2020-04-07 13:09:25 +02:00

29 lines
671 B
INI

[tox]
minversion = 2.0
skipsdist = True
envlist = docs
[testenv]
basepython = python3
setenv = VIRTUAL_ENV={envdir}
[testenv:docs]
deps =
-r{toxinidir}/doc/requirements.txt
commands =
doc8 doc/source -e txt -e rst
sphinx-build -E -W -b html doc/source doc/build/html
[doc8]
# Settings for doc8:
# Ignore target directories and autogenerated files
ignore-path = doc/*/target,doc/*/build*
# File extensions to use
extensions = .rst,.txt
# Maximal line length should be 79 but we have some overlong lines.
# Let's not get far more in.
max-line-length = 79
# Disable some doc8 checks:
# D000: Check RST validity (cannot handle the "linenos" directive)
ignore = D000