Fix tutorials custom thumbnail path (#260)

This commit is contained in:
Manuel Goulão
2023-01-11 15:08:50 -06:00
committed by GitHub
parent b34c25b368
commit dcb150e889

View File

@@ -118,7 +118,9 @@ sphinx_gallery_conf = {
"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 -------------------------------------------------