412dfb045e
This patch proposes to publish translated I18n contributor guide(s) using publishdocs tox job. It assumes that the URL structure of translated guides would follow https://docs.openstack.org/developer/i18n/[language-code] scheme. publishdocs tox job first executes docs job which builds the original guide, then it executes build-docs.sh build-docs.sh shell script which outputs translated I18n contributor guide(s) into [language-code] directory from current docs job output directory. Then it copies to publish-docs/developer/i18n directory including translated guide(s). The directory will be synced through infra jenkins job which is implemented later. Note that specifying locale directory in conf.py is needed to enable sphinx-build execution with locale files. Implements: blueprint i18n-guide-translation Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: Id117308190de56bf9a9c4eb712bda82dea6f9e51
12 lines
268 B
Bash
Executable File
12 lines
268 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ $# != 1 ]] ; then
|
|
echo "Pass directory to add marker to as single paramter"
|
|
exit 1
|
|
fi
|
|
|
|
# This marker is needed for infra publishing
|
|
MARKER_TEXT="Project: $ZUUL_PROJECT Ref: $ZUUL_REFNAME Build: $ZUUL_UUID"
|
|
|
|
echo $MARKER_TEXT > $1/.root-marker
|