From e850cb234ff8429d4213d555d98901b65601b2e7 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 23 Jul 2019 12:18:15 +0200 Subject: [PATCH] Add api-quick-start translations Enable the newly imported translations. This needs openstack-doc-tools 1.10 for publishing to the correct location of translated api-quick-start. Update index pages to link to new location. Disable link to Japanese API guide since it's not published currently (too few translated strings). Change-Id: Ie79ce7be7d6c16c9954f50c77f6618c9c2974c3e --- doc-tools-check-languages.conf | 11 ++++++----- test-requirements.txt | 2 +- www/de/index.html | 2 +- www/id/index.html | 2 +- www/ja/index.html | 4 +++- www/ko_KR/index.html | 2 +- www/tr_TR/index.html | 2 +- www/zh_CN/index.html | 2 +- 8 files changed, 15 insertions(+), 12 deletions(-) diff --git a/doc-tools-check-languages.conf b/doc-tools-check-languages.conf index adc2fe8b42..c89ecbc18a 100644 --- a/doc-tools-check-languages.conf +++ b/doc-tools-check-languages.conf @@ -4,14 +4,15 @@ declare -A DIRECTORIES=( # books to be built declare -A BOOKS=( - ["de"]="image-guide install-guide" + ["de"]="api-quick-start image-guide install-guide" + ["eo"]="api-quick-start" ["fr"]="install-guide" - ["id"]="image-guide install-guide" + ["id"]="api-quick-start image-guide install-guide" ["ja"]="image-guide install-guide" - ["ko_KR"]="install-guide" + ["ko_KR"]="api-quick-start install-guide" ["ru"]="install-guide" - ["tr_TR"]="image-guide install-guide" - ["zh_CN"]="install-guide" + ["tr_TR"]="api-quick-start image-guide install-guide" + ["zh_CN"]="api-quick-start install-guide" ) # Location of doc dir diff --git a/test-requirements.txt b/test-requirements.txt index d70b9491c6..070375f5b5 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,7 +8,7 @@ hacking>=1.1.0,<1.2.0 # Apache-2.0 beautifulsoup4 # MIT Jinja2>=2.8 # BSD License (3 clause) -openstack-doc-tools>=1.6.0 # Apache-2.0 +openstack-doc-tools>=1.10.0 # Apache-2.0 sphinx>=1.6.2 # BSD openstackdocstheme>=1.23.1 # Apache-2.0 doc8 # Apache-2.0 diff --git a/www/de/index.html b/www/de/index.html index 14cf152132..b79d0e196b 100644 --- a/www/de/index.html +++ b/www/de/index.html @@ -70,7 +70,7 @@

API Guides

OpenStack API Dokumentation

- API Guide + API Guide
diff --git a/www/id/index.html b/www/id/index.html index 575234c0db..54c8b93354 100644 --- a/www/id/index.html +++ b/www/id/index.html @@ -75,7 +75,7 @@
diff --git a/www/ja/index.html b/www/ja/index.html index 9b5371bc69..87aa52499a 100644 --- a/www/ja/index.html +++ b/www/ja/index.html @@ -65,11 +65,13 @@
+