From dcb150e8893161d941f8a3fff1baef232cad4d96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Goul=C3=A3o?= Date: Wed, 11 Jan 2023 15:08:50 -0600 Subject: [PATCH] Fix tutorials custom thumbnail path (#260) --- docs/conf.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -------------------------------------------------