diff --git a/.gitignore b/.gitignore index cc2ecab379..30b9533ac9 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/doc-tools-check-languages.conf b/doc-tools-check-languages.conf index b7c657d0c7..86b52ccf63 100644 --- a/doc-tools-check-languages.conf +++ b/doc-tools-check-languages.conf @@ -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" ) diff --git a/doc/user-guides/source/locale/ja/LC_MESSAGES/user-guides.po b/doc/user-guides/source/locale/ja/LC_MESSAGES/user-guides.po new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/doc/user-guides/source/locale/ja/LC_MESSAGES/user-guides.po @@ -0,0 +1 @@ + diff --git a/test-requirements.txt b/test-requirements.txt index 980cc2e532..ed3b11fcae 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -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