From d03a52f713d8da2377cf6e4a4057df063ba9f20a Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 14 Feb 2014 16:16:22 +0100 Subject: [PATCH] Create publishdocs target for publishing tox -e publishdocs will be called by the post jenkins jobs to prepare everything for publishing - and then the content of publish-docs gets copied. Change-Id: Ic6540fd279549e082ccc0abd60623b553e798f1d --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index 12876988cc..f987447740 100644 --- a/tox.ini +++ b/tox.ini @@ -23,6 +23,11 @@ commands = openstack-doc-test --check-deletions {posargs} [testenv:checkbuild] commands = openstack-doc-test --check-build {posargs} +[testenv:publishdocs] +# Prepare all documents (except www subdir) so that they can get +# published on docs.openstack.org with just copying publish-docs/* +# over. +commands = openstack-doc-test --check-build --nocreate-index --force [testenv:buildlang-install] # Run as "tox -e buildlang-install -- $LANG"