Fix Sphinx warnings in docs build for failed notebooks
@@ -84,7 +84,7 @@ def main():
# convert into scripts
# copy generated filled notebooks to doc
- if passed:
+ # if passed:
if pathsrc == path_empty_nbs:
# copytree is needed to copy subfolder images
@@ -103,10 +103,11 @@ def main():
)
pathdest = path_filled_nbs / notebookname
copyfile(str(pathsrc), str(pathdest))
- else:
- logging.info("Tests have not passed.")
- logging.info("Tutorials not ready for documentation building process.")
- rmtree(str(path_static_nbs), ignore_errors=True)
+
+ # else:
+ # logging.info("Tests have not passed.")
+ # logging.info("Tutorials not ready for documentation building process.")
+ # rmtree(str(path_static_nbs), ignore_errors=True)
# tear down
rmtree(str(path_temp), ignore_errors=True)
