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"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glossary [ <!DOCTYPE glossary [
<!ENTITY % openstack SYSTEM "openstack.ent"> <!ENTITY % openstack SYSTEM "../openstack-ops/openstack.ent">
%openstack; %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 --> <!-- doc history and resources -->
<xi:include href="ch_ops_resources.xml"/> <xi:include href="ch_ops_resources.xml"/>
<!-- glossary --> <!-- glossary -->
<xi:include href="glossary-terms.xml"/> <xi:include href="../glossary/glossary-terms.xml"/>
<index/> <index/>
</book> </book>

View File

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

View File

@ -15,7 +15,8 @@ function setup_lang {
echo "Setting up files for $SET_LANG" echo "Setting up files for $SET_LANG"
echo "=======================" echo "======================="
echo " Directories:" 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'
} }