diff --git a/docs/source/conf.py b/docs/source/conf.py
index 2e7eb82cd5d28b54997bbdb37f9c8f83b6239d49..dd0edbefb5d9f09a58e5959082dc898db57da1ae 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -557,7 +557,9 @@ 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 in sorted_dir(test_artifact_dir):