From b141659cc3a83b89f222bc9e57dbb49628976aaf Mon Sep 17 00:00:00 2001 From: Tom Fifield Date: Wed, 31 Dec 2014 12:12:28 +0800 Subject: [PATCH] Add sub-site for Portuguese Fernando Pimenta and the OpenStack Brazil team have finished the translation of the install guide. This patch adds the necesssary web components to display it on docs.openstack.org Change-Id: I783a1e0b4e122e64b831cc508a8a3f7caee6bcc4 --- doc-tools-check-languages.conf | 2 + www/pt_BR/index.html | 61 +++++++++++++++++++ .../dropdown_releases_and_languages.tmpl | 5 ++ www/www-index.html | 3 + 4 files changed, 71 insertions(+) create mode 100644 www/pt_BR/index.html diff --git a/doc-tools-check-languages.conf b/doc-tools-check-languages.conf index d760ca145c..65991473ae 100644 --- a/doc-tools-check-languages.conf +++ b/doc-tools-check-languages.conf @@ -4,12 +4,14 @@ declare -A DIRECTORIES=( ["ja"]="common glossary image-guide install-guide user-guide user-guide-admin" ["fr"]="common glossary user-guide" + ["pt_BR"]="common install-guide" ) # books to be built declare -A BOOKS=( ["ja"]="image-guide install-guide user-guide user-guide-admin" ["fr"]="user-guide" + ["pt_BR"]="install-guide" ) # Where does the top-level pom live? diff --git a/www/pt_BR/index.html b/www/pt_BR/index.html new file mode 100644 index 0000000000..94d975207b --- /dev/null +++ b/www/pt_BR/index.html @@ -0,0 +1,61 @@ +{% extends "templates/base.tmpl" %} +{% block pagetitle %}{% endblock %} +{% block title %}Documentation (Portuguese){% endblock %} +{% block content %} +
+
+

+ Esta página lista a documentação OpenStack traduzidas para o português. +

+
+ + +
+{% endblock content %} diff --git a/www/templates/dropdown_releases_and_languages.tmpl b/www/templates/dropdown_releases_and_languages.tmpl index e067639a3c..1770b30024 100644 --- a/www/templates/dropdown_releases_and_languages.tmpl +++ b/www/templates/dropdown_releases_and_languages.tmpl @@ -44,6 +44,11 @@ Français (French) +
  • /juno/index.html
  • /index.html
  • /ja/index.html
  • +
  • /ko_KR/index.html
  • /ops/index.html
  • +
  • /pt_BR/index.html
  • /sec/index.html
  • /trunk/index.html
  • +
  • /zh_CN/index.html