From 0e329a7ee5547e1355523a9b4016a270cfba1b35 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 19 Apr 2014 19:58:50 +0200 Subject: [PATCH] Use --publish for openstack-doc-test This requires openstack-doc-test 0.11: We now can use --publish for openstack-doc-test. This will not copy over the www directory anymore and replaces --nocreate-index. Change-Id: I7180f4ffb0e6a343857f3bf362c2cc70efb644b8 --- tox.ini | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index 590bf5d6a..4421f27e4 100644 --- a/tox.ini +++ b/tox.ini @@ -31,16 +31,12 @@ commands = openstack-doc-test --check-build {posargs} # Prepare documents (without www) so that they can get published on # docs.openstack.org with just copying publish-docs/* over. commands = - openstack-doc-test --check-build --nocreate-index --only-book api-quick-start - # Remove www directory, it's published separately - rm -rf publish-docs/www + openstack-doc-test --check-build --publish --only-book api-quick-start [testenv:publishdocs-api] # Prepare documents (without www) so that they can get published on # api.openstack.org with just copying publish-docs/api-ref over. commands = - openstack-doc-test --check-build --nocreate-index --only-book api-ref --only-book api-ref-guides + openstack-doc-test --check-build --publish --only-book api-ref --only-book api-ref-guides # We need to move api-ref-guides to the proper place: mv publish-docs/api-ref-guides publish-docs/api-ref/ - # Remove www directory, it's published separately - rm -rf publish-docs/www