Skip to content

Commit

Permalink
Small improvements to environments pages (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgoulao authored Nov 3, 2022
1 parent 57cfe0a commit f85b485
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/scripts/gen_mds.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
+ f" \n:width: 200px\n:name: {snake_env_name}\n```"
)
info = (
"This environment is part of the"
"This environment is part of the "
+ f"<a href='..'>{env_type_title} environments</a>."
+ "Please read that page first for general information."
)
Expand All @@ -135,6 +135,8 @@
if hasattr(high, "shape"):
if len(high.shape) == 3:
high = high[0][0][0]
if env_type == "mujoco":
high = high[0]
high = np.round(high, 2)
high = str(high).replace("\n", " ")
env_table += f"| Observation High | {high} |\n"
Expand Down

0 comments on commit f85b485

Please sign in to comment.