[generatepot] Removes unnecessary -b option

To generate pot files using Sphinx, just using "-b gettext"
is sufficient and there is no need to additionally specify
such as "-b html" or "-b gettext".

Change-Id: Ibbe420b104a592db39f7f34f496210fcd678eae1
This commit is contained in:
Ian Y. Choi 2018-06-09 01:06:28 +09:00
parent 9f8968a647
commit 03059bb5c0
2 changed files with 4 additions and 4 deletions

View File

@ -30,10 +30,10 @@ MARKER_TEXT="Project: $ZUUL_PROJECT Ref: $ZUUL_REFNAME Build: $ZUUL_UUID"
# upstream-training contains the HTML and slides contents
# build upstream-training slides
sphinx-build -j $NUMBER_OF_CORES -b slides -b gettext ${DIRECTORY}/source/slides \
sphinx-build -j $NUMBER_OF_CORES -b gettext ${DIRECTORY}/source/slides \
${DIRECTORY}/source/locale/
# build upstream landing page index.html
sphinx-build -j $NUMBER_OF_CORES -b html -b gettext ${DIRECTORY}/source/website \
sphinx-build -j $NUMBER_OF_CORES -b gettext ${DIRECTORY}/source/website \
${DIRECTORY}/source/locale/
# check all language translation resouce

View File

@ -30,10 +30,10 @@ rm -f ${DIRECTORY}/source/locale/$DOCNAME.pot
# upstream-training contains the HTML and slides contents
# build upstream-training slides
sphinx-build -j $NUMBER_OF_CORES -b slides -b gettext ${DIRECTORY}/source/slides \
sphinx-build -j $NUMBER_OF_CORES -b gettext ${DIRECTORY}/source/slides \
${DIRECTORY}/source/locale/
# build upstream landing page index.html
sphinx-build -j $NUMBER_OF_CORES -b html -b gettext ${DIRECTORY}/source/website \
sphinx-build -j $NUMBER_OF_CORES -b gettext ${DIRECTORY}/source/website \
${DIRECTORY}/source/locale/
# Take care of deleting all temporary files so that