Merge "Add gendocs tox job for generating the documentation"
This commit is contained in:
commit
8d931b83ef
@ -412,7 +412,7 @@ commands to build the documentation set::
|
||||
source .tox/venv/bin/activate
|
||||
|
||||
# build the docs
|
||||
python setup.py build_sphinx
|
||||
tox -egendocs
|
||||
|
||||
Now use your browser to open the top-level index.html located at::
|
||||
|
||||
|
6
tox.ini
6
tox.ini
@ -40,6 +40,12 @@ envdir = {toxworkdir}/venv
|
||||
commands =
|
||||
bash tools/config/generate_sample.sh -b . -p ironic -o etc/ironic
|
||||
|
||||
[testenv:gendocs]
|
||||
sitepackages = False
|
||||
envdir = {toxworkdir}/venv
|
||||
commands =
|
||||
python setup.py build_sphinx
|
||||
|
||||
[testenv:venv]
|
||||
setenv = PYTHONHASHSEED=0
|
||||
commands = {posargs}
|
||||
|
Loading…
x
Reference in New Issue
Block a user