Cleanup doc-tools-check-languages
Remove obsolete content. Change-Id: Ibbb7ee0c3ebc7d6594c580d48d9846abb67cd324
This commit is contained in:
parent
980c84aea1
commit
eccac102db
|
@ -181,8 +181,6 @@ fi
|
||||||
source $CONF_FILE
|
source $CONF_FILE
|
||||||
|
|
||||||
if [[ -z $(declare -p BOOKS 2> /dev/null | grep 'declare -A BOOKS') || \
|
if [[ -z $(declare -p BOOKS 2> /dev/null | grep 'declare -A BOOKS') || \
|
||||||
-z $(declare -p DIRECTORIES 2> /dev/null | \
|
|
||||||
grep 'declare -A DIRECTORIES') || \
|
|
||||||
-z $DOC_DIR ]]; then
|
-z $DOC_DIR ]]; then
|
||||||
echo "Error: the configuration file '$CONF_FILE' is invalid"
|
echo "Error: the configuration file '$CONF_FILE' is invalid"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -1,29 +1,11 @@
|
||||||
# Example configuration for the languages 'ja' and 'fr'.
|
# Example configuration for the languages 'ja' and 'fr'.
|
||||||
|
|
||||||
# Directories to set up
|
|
||||||
declare -A DIRECTORIES=(
|
|
||||||
["ja"]="common glossary high-availability-guide image-guide install-guide user-guide"
|
|
||||||
["fr"]="common glossary user-guide"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Books to build
|
# Books to build
|
||||||
declare -A BOOKS=(
|
declare -A BOOKS=(
|
||||||
["ja"]="high-availability-guide image-guide install-guide user-guide"
|
["ja"]="high-availability-guide image-guide install-guide user-guide"
|
||||||
["fr"]="user-guide"
|
["fr"]="user-guide"
|
||||||
)
|
)
|
||||||
|
|
||||||
# draft books
|
|
||||||
declare -A DRAFTS=(
|
|
||||||
["fr"]="image-guide"
|
|
||||||
["ja"]="install-guide"
|
|
||||||
["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
|
# Location of doc dir
|
||||||
DOC_DIR="doc/"
|
DOC_DIR="doc/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue