Skip to content
Snippets Groups Projects
Commit 93f38ec588fb authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:pencil: change create_documentation missing documentation level to make detecting other errors easier

parent edf702435fdc
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@
# TODO read value from Makefile
builddir=_build
dest_dir=$out_dir/$module/$language/$branch
echo ${YELLOW}INFO ${RESET} - Documentation generation done for $dir/$module_path/$doc_dir, copy to $dest_dir
echo ${GREEN}INFO ${RESET} - Documentation generation done for $dir/$module_path/$doc_dir, copy to $dest_dir
mkdir -p $dest_dir
cp -r $builddir/$format/. $dest_dir
else
......@@ -88,7 +88,7 @@
fi
done
if [[ -z "$has_doc" ]] ; then
echo ${RED}ERROR${RESET} - Missing documentation for $dir/$module_path
echo ${RED}WARN${RESET} - Missing documentation for $dir/$module_path
fi
popd
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment