Stop syncing to operations-guide
Do not sync content anymore to operations-guide repository, remove now obsolete code. Change-Id: I57bd7384c488cdbcb0683c5c73f209c9b37126fb
This commit is contained in:
parent
081ab4641e
commit
9db293ae24
@ -1,4 +1,3 @@
|
|||||||
openstack/api-site
|
openstack/api-site
|
||||||
openstack/ha-guide
|
openstack/ha-guide
|
||||||
openstack/operations-guide
|
|
||||||
openstack/security-doc
|
openstack/security-doc
|
||||||
|
@ -45,31 +45,6 @@ function copy_rst {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function copy_glossary_xml {
|
|
||||||
GLOSSARY_SUB_DIR=$1
|
|
||||||
ENT_DIR=$2
|
|
||||||
CHECK_MARK_DIR=$3
|
|
||||||
|
|
||||||
GLOSSARY_DIR="$PROJECT_DIR/$GLOSSARY_SUB_DIR"
|
|
||||||
|
|
||||||
cp doc/glossary/glossary-terms.xml $GLOSSARY_DIR/
|
|
||||||
# Copy only Japanese and zh_CN translations since ha-guide,
|
|
||||||
# security-guide, and operations-guide are only translated to Japanese
|
|
||||||
# currently while the ha-guide is additionally translated to zh_CN.
|
|
||||||
# Training-guides is not translated at all.
|
|
||||||
cp doc/glossary/locale/{ja,zh_CN}.po $GLOSSARY_DIR/locale/
|
|
||||||
sed -i -e "s|\"./openstack.ent\"|\"../$ENT_DIR/openstack.ent\"|" \
|
|
||||||
$GLOSSARY_DIR/glossary-terms.xml
|
|
||||||
(cd $PROJECT_DIR; git add $GLOSSARY_SUB_DIR)
|
|
||||||
|
|
||||||
# Sync entitites file
|
|
||||||
cp doc/glossary/openstack.ent $GLOSSARY_DIR/../$ENT_DIR/
|
|
||||||
|
|
||||||
# Add files
|
|
||||||
(cd $PROJECT_DIR; git add $GLOSSARY_SUB_DIR \
|
|
||||||
$GLOSSARY_SUB_DIR/../$ENT_DIR/openstack.ent)
|
|
||||||
}
|
|
||||||
|
|
||||||
case "$PROJECT_DIR" in
|
case "$PROJECT_DIR" in
|
||||||
api-site)
|
api-site)
|
||||||
copy_rst common
|
copy_rst common
|
||||||
@ -79,10 +54,6 @@ case "$PROJECT_DIR" in
|
|||||||
copy_rst doc/common
|
copy_rst doc/common
|
||||||
copy_rst_trans doc/common
|
copy_rst_trans doc/common
|
||||||
;;
|
;;
|
||||||
operations-guide)
|
|
||||||
copy_glossary_xml "doc/glossary" "openstack-ops" "figures"
|
|
||||||
copy_rst doc/common
|
|
||||||
;;
|
|
||||||
security-doc)
|
security-doc)
|
||||||
copy_rst common
|
copy_rst common
|
||||||
copy_rst_trans common
|
copy_rst_trans common
|
||||||
|
Loading…
Reference in New Issue
Block a user