f69c489346
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
39 lines
1023 B
Plaintext
39 lines
1023 B
Plaintext
# directories to be set up
|
|
declare -A DIRECTORIES=(
|
|
["fr"]="common glossary image-guide"
|
|
["ja"]="common glossary image-guide install-guide"
|
|
["pt_BR"]="common install-guide"
|
|
["zh_CN"]="common glossary arch-design image-guide install-guide"
|
|
)
|
|
|
|
# books to be built
|
|
declare -A BOOKS=(
|
|
["fr"]="image-guide"
|
|
["ja"]="image-guide install-guide user-guide user-guide-admin"
|
|
["pt_BR"]="install-guide"
|
|
["zh_CN"]="arch-design image-guide install-guide"
|
|
)
|
|
|
|
# draft books
|
|
declare -A DRAFTS=(
|
|
["fr"]="image-guide"
|
|
["ja"]="install-guide user-guide user-guide-admin"
|
|
["pt_BR"]="install-guide"
|
|
["zh_CN"]="install-guide"
|
|
)
|
|
|
|
# Where does the top-level pom live?
|
|
# Set to empty to not copy it.
|
|
POM_FILE="doc/pom.xml"
|
|
|
|
# Location of doc dir
|
|
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=(
|
|
["user-guide"]="RST"
|
|
["user-guide-admin"]="RST"
|
|
["networking-guide"]="RST"
|
|
)
|