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:
parent
3785cb8bd9
commit
b84857108c
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -0,0 +1 @@
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user