b63f33f438
The translation file has been added, let's build it. Also, add entry for draft page to reference the guide. Change-Id: I0df4e67a123c811981deed2f4dbd4b058bf8a68f
59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
# directories to be set up
|
|
declare -A DIRECTORIES=(
|
|
)
|
|
|
|
# books to be built
|
|
declare -A BOOKS=(
|
|
["cs"]="install-guide"
|
|
["de"]="install-guide"
|
|
["fr"]="install-guide"
|
|
["id"]="install-guide user-guide"
|
|
["ja"]="ha-guide image-guide install-guide networking-guide ops-guide user-guide"
|
|
["ko_KR"]="install-guide"
|
|
["zh_CN"]="install-guide user-guide"
|
|
)
|
|
|
|
# draft books
|
|
declare -A DRAFTS=(
|
|
["cs"]="install-guide"
|
|
["de"]="install-guide"
|
|
["fr"]="install-guide"
|
|
["id"]="install-guide"
|
|
["ja"]="ha-guide install-guide networking-guide ops-guide"
|
|
["ko_KR"]="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=(
|
|
# This needs special handling, handle it with the RST tools.
|
|
["common"]="RST"
|
|
["admin-guide"]="RST"
|
|
["arch-design"]="RST"
|
|
["ha-guide"]="RST"
|
|
["image-guide"]="RST"
|
|
["install-guide"]="RST"
|
|
["networking-guide"]="RST"
|
|
["ops-guide"]="RST"
|
|
["user-guide"]="RST"
|
|
# Do not translate for now, we need to fix our scripts first to
|
|
# generate the content properly.
|
|
["install-guide-debconf"]="skip"
|
|
# Do not translate
|
|
["cli-reference"]="skip"
|
|
["config-reference"]="skip"
|
|
["contributor-guide"]="skip"
|
|
["releasenotes"]="skip"
|
|
# Skip arch design while its being revised
|
|
["arch-design-draft"]="skip"
|
|
)
|