Disable publishing of training-guides folder

The last content change to doc/training-guides was September 2016. We
still publish the content to /draft which is obsolete. Stop this
publishing for now.

Once training-guides gets updates, we can discuss publishing to a new
location.

Change-Id: I5086007cd76859e538929b1bda05babab9bc7ec6
This commit is contained in:
Andreas Jaeger 2018-01-22 18:29:41 +01:00
parent 3cf46270be
commit 7eb07a7f54
2 changed files with 9 additions and 4 deletions

View File

@ -21,6 +21,7 @@ Introduction
contributing to training guides
https://wiki.openstack.org/wiki/Training-guides
* This document is not published at docs.openstack.org anymore since it's outdated.
Structure of this folder
========================

12
tox.ini
View File

@ -37,11 +37,15 @@ commands =
passenv = ZUUL*
commands =
{[testenv:upstream-slides]commands}
{[testenv:training-slides]commands}
# Note(AJaeger):
# We do not publish draft documents anymore, disable this for now
# Once this document gets updated, we can discuss publishing to a
# new location
# {[testenv:training-slides]commands}
# Publish as draft
mkdir -p publish-docs/draft/training-guides
rsync -av doc/training-guides/build/slides/ publish-docs/draft/training-guides/
{toxinidir}/tools/add-marker.sh publish-docs/draft/training-guides/
# mkdir -p publish-docs/draft/training-guides
# rsync -av doc/training-guides/build/slides/ publish-docs/draft/training-guides/
# {toxinidir}/tools/add-marker.sh publish-docs/draft/training-guides/
# Publish
mkdir -p publish-docs/upstream-training
rsync -av doc/upstream-training/build/slides/ publish-docs/upstream-training/