
With Zuul v2, the publishing happens from publish-docs/api-ref. Let's simplify our scripts and publish with Zuul v3 from publish-docs directly. Add new jobs publishlang and publishbuild for Zuul v3 publishing. Use existing publishlang-api and publishbuild-api for Zuul v2 publishing. Remove now obsolete comment from doc-tools-check-languages.conf. Change-Id: I32b29a34c571882cb4d7c542c543ea726e76a0b5
31 lines
673 B
Plaintext
31 lines
673 B
Plaintext
# Directories to be set up
|
|
declare -A DIRECTORIES=(
|
|
)
|
|
|
|
# books to be built
|
|
declare -A BOOKS=(
|
|
["de"]="api-quick-start firstapp"
|
|
["id"]="api-quick-start firstapp"
|
|
["ja"]="api-quick-start"
|
|
["ko_KR"]="api-quick-start"
|
|
["tr_TR"]="api-quick-start firstapp"
|
|
["zh_CN"]="api-quick-start"
|
|
)
|
|
|
|
|
|
# Location of doc dir
|
|
DOC_DIR="./"
|
|
|
|
# Books with special handling
|
|
# Values need to match content in project-config/jenkins/scripts/common_translation_update.sh
|
|
declare -A SPECIAL_BOOKS
|
|
SPECIAL_BOOKS=(
|
|
["api-quick-start"]="RST"
|
|
["firstapp"]="RST"
|
|
# These are translated in openstack-manuals
|
|
["common"]="skip"
|
|
# Obsolete
|
|
["api-ref"]="skip"
|
|
|
|
)
|