Commit 81d09f9e authored by David Fairbrother's avatar David Fairbrother
Browse files

Enable dev docs builds

We are doing more and more dev-docs builds so enable them by default.
Additionally rely on -f to handle if the files / dirs are present or not
instead of checking
parent eda9de4e
......@@ -58,6 +58,8 @@ if [[ $ENABLE_DOCS == true ]]; then
fi
# Build dev-docs turned off until dev docs run without error
# if [[ $ENABLE_DEV_DOCS == true ]]; then
# cmake --build . --target dev-docs-html
# fi
if [[ $ENABLE_DEV_DOCS == true ]]; then
rm -fr $BUILD_DIR/dev-docs/doctree/*
rm -f $BUILD_DIR/dev-docs/dev_docs_warnings.txt
cmake --build . --target dev-docs-html
fi
......@@ -442,12 +442,11 @@ fi
# Developer Documentation
###############################################################################
# Uncomment this when the dev-docs are ready to build without warnings
# if [[ ${DO_BUILD_DEVDOCS} == true ]]; then
# if [ -d $BUILD_DIR/dev-docs/doctree ]; then
# rm -fr $BUILD_DIR/dev-docs/doctree/*
# fi
# ${CMAKE_EXE} --build . --target dev-docs-html
# fi
if [[ ${DO_BUILD_DEVDOCS} == true ]]; then
rm -fr $BUILD_DIR/dev-docs/doctree/*
rm -f $BUILD_DIR/dev-docs/dev_docs_warnings.txt
${CMAKE_EXE} --build . --target dev-docs-html
fi
###############################################################################
# Create the install kit if required. This includes building the Qt help
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment