diff --git a/docs/conf.py b/docs/conf.py index 071d29f7a..dbbb9f8db 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -118,7 +118,9 @@ "show_memory": False, "min_reported_time": float("inf"), "filename_pattern": f"{re.escape(os.sep)}run_", - "default_thumb_file": "_static/img/gymnasium-github.png", + "default_thumb_file": os.path.join( + os.path.dirname(__file__), "_static/img/gymnasium-github.png" + ), } # -- Generate Changelog -------------------------------------------------