From eccac102dbe287595d33c90811715c96249abf66 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 2 Aug 2017 20:36:44 +0200 Subject: [PATCH] Cleanup doc-tools-check-languages Remove obsolete content. Change-Id: Ibbb7ee0c3ebc7d6594c580d48d9846abb67cd324 --- bin/doc-tools-check-languages | 2 -- bin/doc-tools-check-languages.conf | 18 ------------------ 2 files changed, 20 deletions(-) diff --git a/bin/doc-tools-check-languages b/bin/doc-tools-check-languages index 7771f751..8320e20e 100755 --- a/bin/doc-tools-check-languages +++ b/bin/doc-tools-check-languages @@ -181,8 +181,6 @@ fi source $CONF_FILE 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 echo "Error: the configuration file '$CONF_FILE' is invalid" exit 1 diff --git a/bin/doc-tools-check-languages.conf b/bin/doc-tools-check-languages.conf index b02ede81..2d394659 100644 --- a/bin/doc-tools-check-languages.conf +++ b/bin/doc-tools-check-languages.conf @@ -1,29 +1,11 @@ # 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 declare -A BOOKS=( ["ja"]="high-availability-guide image-guide install-guide 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 DOC_DIR="doc/"