Merge "Sync doc-tools-build-rst with openstack-manuals"
This commit is contained in:
commit
feddb70b61
@ -92,12 +92,12 @@ if [ "$LINKCHECK" = "1" ] ; then
|
||||
# Show sphinx-build invocation for easy reproduction
|
||||
set -x
|
||||
sphinx-build -j $NUMBER_OF_CORES -E -W -d $DOCTREES -b linkcheck \
|
||||
$TAG_OPT $DIRECTORY/source $BUILD_DIR
|
||||
$TAG_OPT $DIRECTORY/source $BUILD_DIR
|
||||
set +x
|
||||
else
|
||||
# Show sphinx-build invocation for easy reproduction
|
||||
set -x
|
||||
sphinx-build -j $NUMBER_OF_CORES -E -W -d $DOCTREES -b html \
|
||||
sphinx-build -j $NUMBER_OF_CORES -E -W -d $DOCTREES -b html \
|
||||
$TAG_OPT $DIRECTORY/source $BUILD_DIR
|
||||
set +x
|
||||
|
||||
@ -105,5 +105,7 @@ else
|
||||
if [ "$TARGET" != "" ] ; then
|
||||
mkdir -p publish-docs/$TARGET
|
||||
rsync -a $BUILD_DIR/ publish-docs/$TARGET/
|
||||
# Remove unneeded build artefact
|
||||
rm -f publish-docs/$TARGET/.buildinfo
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user