Use venv to build documentation
The Sphinx documentation can be made to use the `program-output` plugin which would invoke commands to generate inline documentation. The resulting output should correspond to bash8 source, not the currently installed version on the host running the doc. That also let us ensure the requirements are properly defined. Change-Id: Ie09707f35df1a5aa06995e31ba3160dcfb386b37
This commit is contained in:
parent
4d56774db6
commit
f7e54420cd
5
tox.ini
5
tox.ini
@ -15,6 +15,9 @@ commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
[testenv:pep8]
|
||||
commands = flake8
|
||||
|
||||
[testenv:doc]
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
@ -28,4 +31,4 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||
show-source = True
|
||||
ignore = E123,E125,H803
|
||||
builtins = _
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|
||||
|
Loading…
x
Reference in New Issue
Block a user