2014-08-15 20:06:44 +02:00
|
|
|
# directories to be set up
|
|
|
|
declare -A DIRECTORIES=(
|
|
|
|
)
|
|
|
|
|
|
|
|
# books to be built
|
|
|
|
declare -A BOOKS=(
|
2015-12-04 16:57:12 +09:00
|
|
|
["cs"]="install-guide"
|
2016-08-28 11:30:54 +02:00
|
|
|
["de"]="install-guide"
|
2016-03-25 08:10:21 +01:00
|
|
|
["fr"]="install-guide"
|
2016-09-07 19:56:25 +02:00
|
|
|
["id"]="install-guide user-guide"
|
2016-06-03 08:50:26 +02:00
|
|
|
["ja"]="ha-guide image-guide install-guide networking-guide ops-guide user-guide"
|
2016-04-13 15:48:33 +09:00
|
|
|
["ko_KR"]="install-guide"
|
2016-11-02 10:51:19 +01:00
|
|
|
["zh_CN"]="install-guide user-guide"
|
2014-08-15 20:06:44 +02:00
|
|
|
)
|
|
|
|
|
2015-04-18 19:40:43 +02:00
|
|
|
# draft books
|
|
|
|
declare -A DRAFTS=(
|
2015-12-04 16:57:12 +09:00
|
|
|
["cs"]="install-guide"
|
2016-08-28 11:30:54 +02:00
|
|
|
["de"]="install-guide"
|
2016-03-25 08:10:21 +01:00
|
|
|
["fr"]="install-guide"
|
2016-08-28 11:30:54 +02:00
|
|
|
["id"]="install-guide"
|
2016-06-03 08:50:26 +02:00
|
|
|
["ja"]="ha-guide install-guide networking-guide ops-guide"
|
2016-04-13 15:48:33 +09:00
|
|
|
["ko_KR"]="install-guide"
|
2016-08-28 11:30:54 +02:00
|
|
|
["zh_CN"]="install-guide"
|
2015-04-18 19:40:43 +02:00
|
|
|
)
|
|
|
|
|
2014-08-15 20:06:44 +02:00
|
|
|
# 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/"
|
2015-03-05 18:25:29 +08:00
|
|
|
|
2015-06-17 16:19:01 +02:00
|
|
|
# Books with special handling.
|
|
|
|
# Values need to match content in
|
|
|
|
# project-config/jenkins/scripts/common_translation_update.sh
|
2015-03-07 19:48:01 +01:00
|
|
|
declare -A SPECIAL_BOOKS=(
|
2016-02-10 21:11:33 +09:00
|
|
|
# This needs special handling, handle it with the RST tools.
|
|
|
|
["common"]="RST"
|
2016-03-30 14:41:59 +10:00
|
|
|
["admin-guide"]="RST"
|
2015-11-27 07:36:26 +01:00
|
|
|
["arch-design"]="RST"
|
2016-05-05 18:47:49 +09:00
|
|
|
["ha-guide"]="RST"
|
2015-11-23 18:23:39 +09:00
|
|
|
["image-guide"]="RST"
|
2015-08-19 09:18:49 +02:00
|
|
|
["install-guide"]="RST"
|
|
|
|
["networking-guide"]="RST"
|
2016-05-08 22:02:01 +09:00
|
|
|
["ops-guide"]="RST"
|
2015-05-13 22:07:38 +02:00
|
|
|
["user-guide"]="RST"
|
2016-06-15 09:52:39 +02:00
|
|
|
# Do not translate for now, we need to fix our scripts first to
|
|
|
|
# generate the content properly.
|
|
|
|
["install-guide-debconf"]="skip"
|
2015-12-05 08:22:04 +01:00
|
|
|
# Do not translate
|
|
|
|
["cli-reference"]="skip"
|
2016-03-07 07:45:28 +01:00
|
|
|
["config-reference"]="skip"
|
2015-12-27 20:56:49 +01:00
|
|
|
["contributor-guide"]="skip"
|
2016-03-18 11:26:09 +01:00
|
|
|
["releasenotes"]="skip"
|
2015-12-16 14:58:29 +11:00
|
|
|
# Skip arch design while its being revised
|
|
|
|
["arch-design-draft"]="skip"
|
2015-03-05 18:25:29 +08:00
|
|
|
)
|