openstack-manuals/doc-tools-check-languages.conf
ihutchin e4f9185c54 [ha-guide-draft] Create ha-guide draft directory
This creates a new ha-guide-draft directory to allow developing the
guide. Add infrastructure for:
* The draft guide is not translated currently.
* Build RST version (but not PDF yet) with each run.
* Publish guide as draft
* Update built index for it.

Also updates the ToC to reflect the proposed changes.

Implements: blueprint implement-ha-guide-todos

Change-Id: If6f65646e02ac3eac08c288fd727ab9851cf9569
2017-03-20 11:34:24 +00:00

62 lines
1.7 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"]="image-guide install-guide networking-guide user-guide"
["ja"]="ha-guide image-guide install-guide networking-guide ops-guide user-guide"
["ko_KR"]="install-guide"
["ru"]="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 networking-guide"
["ja"]="install-guide networking-guide"
["ko_KR"]="install-guide"
["ru"]="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"
["ha-guide-draft"]="skip"
# Skip old arch design, will be archived
["arch-design-to-archive"]="skip"
)