
Address the change from XML to RST, XML based jobs are disabled. Current content in Juno release for training guides is not going to include any XML Docbook content. This patch disables the XML related jobs. This patch will be followed by more jobs added to build RST content to HTML and PDF format as required using the tools decided by the team. The jobs disabled will be re-enabled with the appropriate set of tools. Deletes all the jobs which are not required. Addresses changes done by https://review.openstack.org/#/c/152118. Change-Id: I91727929fe19dbc7487f2719cdba80157c543d6b
37 lines
663 B
INI
37 lines
663 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = slides
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython = python2
|
|
setenv =
|
|
VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
whitelist_externals =
|
|
bash
|
|
cp
|
|
mkdir
|
|
rm
|
|
sed
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:slides]
|
|
# New RST based environment for building slides
|
|
# Note: Resulting files will not be made available anywhere.
|
|
commands =
|
|
# Niceness test for doc directory
|
|
doc8 doc
|
|
# Build labs tar/zip files
|
|
mkdir -p publish-docs/trunk/training-guides
|
|
# Build training labs scripts
|
|
bash {toxinidir}/tools/generatelabs
|
|
|
|
[doc8]
|
|
# Settings for doc8:
|
|
# File extensions to use
|
|
extensions = .rst,.txt
|
|
|