60ab492106
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
29 lines
671 B
INI
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
|