Skip to content

Commit

Permalink
Update gen_envs_mds.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kuds authored Jan 14, 2025
1 parent cf2ecd9 commit cf0e857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_scripts/gen_envs_mds.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def get_docs_from_py(file_path):
full_env_names = [
full_name
for full_name in all_environments.keys()
if env_name == full_name.split("/")[1][0: full_name.rfind("_")]
if env_name == full_name.split("/")[1].rsplit("_", 1)[0]
]
env_name_version = full_env_names[0].split("/")[1]
if env_type == "classic" and env_name != "rps":
Expand Down

0 comments on commit cf0e857

Please sign in to comment.