a46dfcaaec
This puts in a quick start guide for the all-in-one setup. Removed unused indexes on Welcome page. Fixed nit. Signed-off-by: Tin Lam <tin@irrational.io> Change-Id: Icd1e47157c7a60d85655baf4b7fcd6089766dd33
34 lines
658 B
INI
34 lines
658 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
|
|
|
|
[testenv:pdf-docs]
|
|
envdir = {toxworkdir}/doc
|
|
whitelist_externals =
|
|
rm
|
|
make
|
|
mkdir
|
|
deps =
|
|
-r{toxinidir}/doc/requirements.txt
|
|
commands =
|
|
rm -rf doc/build/pdf
|
|
mkdir -p doc/build/pdf/_static
|
|
sphinx-build -W -b latex doc/source doc/build/pdf
|
|
make -C doc/build/pdf
|