training-guides/tox.ini
Matjaz Pancur 4ba7c3e311 Use Hieroglyph instead of landslide in Training Guides
- delete landslide files
- convert existing rst files to Hieroglyph format
- add new slide build command to the tox.ini
- change default CSS to make output more OpenStack-like
  - used the Foundation Slides' OpenStack-Powered-April2015.ppt
  - title slide with image
  - white h1 css text
  - "openstack's special red" for h2

Change-Id: Icb22482862a85c3d174d9292fb470f64fb95f7aa
2015-04-20 11:25:16 +02:00

52 lines
1.2 KiB
INI

[tox]
minversion = 1.6
envlist = slides
skipsdist = True
[testenv]
basepython = python2
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
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
bash {toxinidir}/tools/generateslides
[doc8]
# Settings for doc8:
# File extensions to use
extension = .rst,.txt
ignore-path = doc/upstream-training/build/*,doc/training-guides/*/build/*
[testenv:upstream-slides]
commands =
# Niceness test
doc8 doc/upstream-training
# Build upstream-training slides
sphinx-build -b slides doc/upstream-training/source/ doc/upstream-training/build/slides
[testenv:training-slides]
commands =
# Niceness test
doc8 doc/training-guides
# Build upstream-training slides
sphinx-build -b slides doc/training-guides/associate-guide/ doc/training-guides/associate-guide/build/slides