[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:
parent
9f8968a647
commit
03059bb5c0
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user