Move glossary to its own directory

This allows sharing of glossary and its translation between the various
documentation repositories.

Also import locale files and just test-languages.sh.

implements bp common-glossary-setup

Change-Id: I01d68f29d5a4e713e17ed88815644ad40f98bf71
This commit is contained in:
Andreas Jaeger 2014-08-01 18:57:31 +02:00
parent 3e9a251523
commit 40f4d63051
7 changed files with 13798 additions and 8 deletions

9
doc/glossary/README.rst Normal file
View File

@ -0,0 +1,9 @@
Important note about glossary
=============================
This directory is synced from openstack-manuals. If you need to make
changes, make the changes in openstack-manuals/doc/glossary first, and
then import the file manually.
In the future this import will happen automatically after a change to
openstack-manuals.

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glossary [
<!ENTITY % openstack SYSTEM "openstack.ent">
<!ENTITY % openstack SYSTEM "../openstack-ops/openstack.ent">
%openstack;
]>

File diff suppressed because it is too large Load Diff

7816
doc/glossary/locale/ja.po Normal file

File diff suppressed because it is too large Load Diff

View File

@ -58,6 +58,6 @@
<!-- doc history and resources -->
<xi:include href="ch_ops_resources.xml"/>
<!-- glossary -->
<xi:include href="glossary-terms.xml"/>
<xi:include href="../glossary/glossary-terms.xml"/>
<index/>
</book>

View File

@ -79,7 +79,7 @@
<sourceDirectory>.</sourceDirectory>
<includes>bk_ops_guide.xml </includes>
<branding>openstack</branding>
<glossaryCollection>glossary-terms.xml</glossaryCollection>
<glossaryCollection>${basedir}/../glossary/glossary-terms.xml</glossaryCollection>
<canonicalUrlBase>http://docs.openstack.org/openstack-ops/content/</canonicalUrlBase>
</configuration>
</plugin>

View File

@ -15,7 +15,8 @@ function setup_lang {
echo "Setting up files for $SET_LANG"
echo "======================="
echo " Directories:"
setup_directory $SET_LANG 'openstack-ops'
# openstack.ent is in opestack-ops but needed by glossary
setup_directory $SET_LANG 'openstack-ops' 'glossary'
}
@ -45,11 +46,11 @@ function test_ops_guide {
function test_language () {
case "$language" in
all)
test_ops_guide "ja"
;;
all)
test_ops_guide "ja"
;;
ja)
test_ops_guide "$language"
test_ops_guide "$language"
;;
*)
BUILD_FAIL=1