diff --git a/docs/mxdoc.py b/docs/mxdoc.py index 8b26c89d2ebd..5e86c1c6dd48 100644 --- a/docs/mxdoc.py +++ b/docs/mxdoc.py @@ -115,7 +115,7 @@ def build_scala_docs(app): '`find native -name "*.jar" | grep "target/lib/" | tr "\\n" ":" `', '`find macros -name "*-SNAPSHOT.jar" | tr "\\n" ":" `' ]) - _run_cmd('cd {}; scaladoc `{}` -classpath {} -feature -deprecation' + _run_cmd('cd {}; scaladoc `{}` -classpath {} -feature -deprecation; exit 0' .format(scala_path, scala_doc_sources, scala_doc_classpath)) dest_path = app.builder.outdir + '/api/scala/docs' _run_cmd('rm -rf ' + dest_path)