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
This commit is contained in:
8
tox.ini
8
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
|
||||
|
||||
Reference in New Issue
Block a user