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
|
source .tox/venv/bin/activate
|
||||||
|
|
||||||
# build the docs
|
# build the docs
|
||||||
python setup.py build_sphinx
|
tox -egendocs
|
||||||
|
|
||||||
Now use your browser to open the top-level index.html located at::
|
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 =
|
commands =
|
||||||
bash tools/config/generate_sample.sh -b . -p ironic -o etc/ironic
|
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]
|
[testenv:venv]
|
||||||
setenv = PYTHONHASHSEED=0
|
setenv = PYTHONHASHSEED=0
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user