User Guides: Enable translations

openstack-doc-tools 0.28 contains a fix for translation of RST guides
and the User Guides. Require that version and enable the User Guides for
translation.

Add building of glossary for translation environments to tox.ini.

Change-Id: I645bf98b68603811a9a978e508d1f492e44da738
This commit is contained in:
Andreas Jaeger
2015-05-13 22:07:38 +02:00
parent fcb9af6e1a
commit f69c489346
3 changed files with 13 additions and 16 deletions

View File

@@ -9,10 +9,7 @@ declare -A DIRECTORIES=(
# books to be built
declare -A BOOKS=(
["fr"]="image-guide"
# TODO(ajaeger) Temporary disabled user-guide and user-guide-admin.
# This needs openstack-doc-tools 0.28 release first.
# ["ja"]="image-guide install-guide user-guide user-guide-admin"
["ja"]="image-guide install-guide"
["ja"]="image-guide install-guide user-guide user-guide-admin"
["pt_BR"]="install-guide"
["zh_CN"]="arch-design image-guide install-guide"
)
@@ -20,10 +17,7 @@ declare -A BOOKS=(
# draft books
declare -A DRAFTS=(
["fr"]="image-guide"
# TODO(ajaeger) Temporary disabled user-guide and user-guide-admin.
# This needs openstack-doc-tools 0.28 release first.
# ["ja"]="install-guide user-guide user-guide-admin"
["ja"]="install-guide"
["ja"]="install-guide user-guide user-guide-admin"
["pt_BR"]="install-guide"
["zh_CN"]="install-guide"
)
@@ -38,9 +32,7 @@ DOC_DIR="doc/"
# Books with special handling
# Values need to match content in project-config/jenkins/scripts/common_translation_update.sh
declare -A SPECIAL_BOOKS=(
# TODO(ajaeger) Temporary disabled user-guide and user-guide-admin.
# This needs openstack-doc-tools 0.28 release first.
["user-guide"]="skip"
["user-guide-admin"]="skip"
["user-guide"]="RST"
["user-guide-admin"]="RST"
["networking-guide"]="RST"
)