Build translated RST manuals

Build translated RST manuals. This needs openstack-doc-tools 0.26
release, thus bumped up requirements.

Import also Japanese User Guides translations so that this can be
tested. We only create an empty file for it, this will trigger the
import and enable us testing of the toolchain.

Ignore some build results.

Change-Id: Ic51974445730cbfa886beb7cfd4fcf71977dab3c
This commit is contained in:
Andreas Jaeger 2015-03-07 19:48:01 +01:00
parent 3785cb8bd9
commit b84857108c
4 changed files with 11 additions and 4 deletions

2
.gitignore vendored
View File

@ -8,9 +8,11 @@ target/
/www/output/
/generated/
/doc/user-guides/build-admin/
.doctrees
build/
/build-*.log.gz
glossary.rst
*.mo
# Python compiled files
*.pyc

View File

@ -9,7 +9,7 @@ declare -A DIRECTORIES=(
# books to be built
declare -A BOOKS=(
["fr"]="image-guide"
["ja"]="image-guide install-guide"
["ja"]="image-guide install-guide user-guides"
["pt_BR"]="install-guide"
["zh_CN"]="arch-design image-guide install-guide"
)
@ -21,10 +21,14 @@ POM_FILE="doc/pom.xml"
# Location of doc dir
DOC_DIR="doc/"
# Draft books
declare -A DRAFTS=(
["ja"]="user-guides"
)
# Books with special handling
# Values need to match content in project-config/jenkins/scripts/common_translation_update.sh
declare -A SPECIAL_BOOKS
SPECIAL_BOOKS=(
declare -A SPECIAL_BOOKS=(
["user-guides"]="RST"
["networking-guide"]="RST"
)

View File

@ -0,0 +1 @@

View File

@ -8,7 +8,7 @@ hacking>=0.10.0,<0.11
beautifulsoup4
Jinja2>=2.6 # BSD License (3 clause)
openstack-doc-tools>=0.25
openstack-doc-tools>=0.26
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
openstackdocstheme>=1.0.7
doc8 # Apache-2.0