diff --git a/docs/source/conf.py b/docs/source/conf.py index 8c404fd16908f7c58fcbabf6949203dd8ae601f3..331e5de5657bd70fd567ce19c0eeed6aa5489d54 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -448,7 +448,6 @@ with open("available_notebooks.rst", "w") as f: output = check_output(nb_help).decode('utf8') f.write(indent(output.replace("DETECTOR", detector).replace("TYPE", caltype), " "*4)) f.write("\n\n") -''' # add test results test_artefact_dir = os.path.realpath("../../tests/legacy/artefacts") @@ -576,6 +575,7 @@ Contents: """ if not os.path.exists("./test_rsts"): os.makedirs("./test_rsts") + with open("test_results.rst", "w") as f: f.write(header) for commit, modtime in sorted_dir(test_artefact_dir):