Publish upstream-training slides as draft
Create publishbuild and checkbuild targets so that the upstream-training slides will be gated and published at http://docs.openstack.org/draft/upstream-training Change-Id: I2ad3736cbd5e66d07bb84ffb9f805a0270663f7b
This commit is contained in:
parent
c3dd3322ea
commit
f0daf37725
16
tox.ini
16
tox.ini
@ -55,6 +55,22 @@ commands =
|
||||
extension = .rst,.txt
|
||||
ignore-path = doc/upstream-training/build/*,doc/training-guides/*/build/*
|
||||
|
||||
[testenv:checkbuild]
|
||||
commands =
|
||||
# Niceness test
|
||||
doc8 doc/upstream-training
|
||||
# Build upstream-training slides
|
||||
sphinx-build -b slides doc/upstream-training/source/ doc/upstream-training/build/slides
|
||||
mkdir -p publish-docs/draft/upstream-training
|
||||
rsync -av doc/upstream-training/build/slides/ publish-docs/draft/upstream-training/
|
||||
|
||||
[testenv:publishbuild]
|
||||
commands =
|
||||
# Build upstream-training slides
|
||||
sphinx-build -b slides doc/upstream-training/source/ doc/upstream-training/build/slides
|
||||
mkdir -p publish-docs/draft/upstream-training
|
||||
rsync -av doc/upstream-training/build/slides/ publish-docs/draft/upstream-training/
|
||||
|
||||
[testenv:upstream-slides]
|
||||
commands =
|
||||
# Niceness test
|
||||
|
Loading…
x
Reference in New Issue
Block a user