Skip to content

Commit 09f5165

Browse files
authored
Fix Documentation to properly match/display correct environment for Pong (#1257)
1 parent f0bd545 commit 09f5165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_scripts/gen_envs_mds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def get_docs_from_py(file_path):
9393
full_env_names = [
9494
full_name
9595
for full_name in all_environments.keys()
96-
if env_name in full_name
96+
if env_name == full_name.split("/")[1].rsplit("_", 1)[0]
9797
]
9898
env_name_version = full_env_names[0].split("/")[1]
9999
if env_type == "classic" and env_name != "rps":

0 commit comments

Comments
 (0)