
This adds a document zuul job and a base docs folder for technical docs, user guides, etc. to the repository. This also publish the documentation as part of promote-airship-project-docs. Signed-off-by: Tin Lam <tin@irrational.io> Change-Id: I6dd049bdc7454355440fcb28ade7a36f0810857a
19 lines
381 B
INI
19 lines
381 B
INI
[tox]
|
|
minversion = 3.2.0
|
|
skipsdist = True
|
|
envlist = docs
|
|
|
|
[testenv]
|
|
basepython = python3
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
|
|
|
[testenv:docs]
|
|
basepython = python3
|
|
whitelist_externals = rm
|
|
deps =
|
|
-r{toxinidir}/doc/requirements.txt
|
|
commands =
|
|
rm -rf doc/build
|
|
sphinx-build -W -b html doc/source doc/build/html
|