Add docs environment

Change-Id: I93deef31ab30b1ce46c35f9c39242adfc4a3ae83
This commit is contained in:
Christian Berendt 2016-04-29 23:23:46 -05:00
parent 984c9f8184
commit 4396ade948
2 changed files with 5 additions and 1 deletions

View File

@ -10,4 +10,5 @@ hacking<0.11,>=0.10.0
pylint==1.4.5 # GNU GPL v2 pylint==1.4.5 # GNU GPL v2
reno>=1.6.2 # Apache2 reno>=1.6.2 # Apache2
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 oslosphinx>=2.5.0,!=3.4.0 # Apache-2.0
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3 # BSD

View File

@ -32,6 +32,9 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[flake8] [flake8]
# H803 skipped on purpose per list discussion. # H803 skipped on purpose per list discussion.
# E123, E125 skipped as they are invalid PEP-8. # E123, E125 skipped as they are invalid PEP-8.