Sync doc-tools-build-rst with openstack-manuals
Import current version from openstack-manuals which removes .buildinfo files as those are not needed for publication. Change-Id: I37ba1422888b8551c251b19f5b3e5498482570dc
This commit is contained in:
parent
10aacc6bce
commit
ace2fe525a
|
@ -92,12 +92,12 @@ if [ "$LINKCHECK" = "1" ] ; then
|
||||||
# Show sphinx-build invocation for easy reproduction
|
# Show sphinx-build invocation for easy reproduction
|
||||||
set -x
|
set -x
|
||||||
sphinx-build -j $NUMBER_OF_CORES -E -W -d $DOCTREES -b linkcheck \
|
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
|
set +x
|
||||||
else
|
else
|
||||||
# Show sphinx-build invocation for easy reproduction
|
# Show sphinx-build invocation for easy reproduction
|
||||||
set -x
|
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
|
$TAG_OPT $DIRECTORY/source $BUILD_DIR
|
||||||
set +x
|
set +x
|
||||||
|
|
||||||
|
@ -105,5 +105,7 @@ else
|
||||||
if [ "$TARGET" != "" ] ; then
|
if [ "$TARGET" != "" ] ; then
|
||||||
mkdir -p publish-docs/$TARGET
|
mkdir -p publish-docs/$TARGET
|
||||||
rsync -a $BUILD_DIR/ publish-docs/$TARGET/
|
rsync -a $BUILD_DIR/ publish-docs/$TARGET/
|
||||||
|
# Remove unneeded build artefact
|
||||||
|
rm -f publish-docs/$TARGET/.buildinfo
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue